Quantcast
Channel: Answers by "LijuDeveloper"
Browsing all 49 articles
Browse latest View live

Answer by LijuDeveloper

In this code some problem. For example , if player's stamina = 30 , audio will play. whenever stamina = 29,28 ,27 ...........etc ,in each condition audio will play. To avoid this , use a boolean like...

View Article



Answer by LijuDeveloper

If you have basic knowledge in programming , you can use JavaScript, Boo or C# for Game developing. Some programmers use C#, some use JavaScript ,some other use Boo. You can select which one is...

View Article

Answer by LijuDeveloper

This is sample code for Mouse Over Mesh Or Button using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public bool boolMouseOver = false ; void OnMouseOver() // This...

View Article

Answer by LijuDeveloper

Try this code using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public bool boolMouseOver ; public GUISkin MyGUISkin; void OnGUI() { if(boolMouseOver == true ) {...

View Article

Answer by LijuDeveloper

I got solution . 1. GUI.TextField is replaced with GUI.TextArea . 2. Then addjusted padding 3. Word Wrap check box is selected 4. Text clipping set as 1

View Article


Answer by LijuDeveloper

Application.LoadLevel ("Level Name"); or Application.LoadLevel (level);// level means Scene num in build Please refer [Application.LoadLevel()][1] [1]:...

View Article

Answer by LijuDeveloper

Color.a = Value between 0 and 1 using for alpha color Try this using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public GameObject myGameObj; public Color myColor;...

View Article

Answer by LijuDeveloper

1.Select Object 2.Go to Inspector > Tag > Add Tag >Tag 3.Set Size , Enter "TagName" 4.Click on object to add tag 5.Go to Inspector > Tag > "TagName"

View Article


Answer by LijuDeveloper

I got solution . Use This scripts in ScrollButton (Mesh) using UnityEngine; using System.Collections; public class c_LobbyScrollView : MonoBehaviour { public Transform tr_ScrollButton; public Transform...

View Article


Answer by LijuDeveloper

Unity is not supporting gif. You can use sprite animation . 1.Use Unity 4 version or above 2.Goto main menu and select GameObject > Create Other > Sprite 3.Select the image to make animation ....

View Article

Answer by LijuDeveloper

I edit this code , try this one using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { public TextMesh textmesh; void Start () { Bounds bound =...

View Article

Answer by LijuDeveloper

I got the solution. public const string SKU_MEDKIT = "sku_medkit";//sku_medkit is In App Product ID options.storeKeys.Add(OpenIAB_Android.STORE_GOOGLE, "Public key");// Public key is License key of...

View Article

Answer by LijuDeveloper

I got solution SystemInfo.deviceUniqueIdentifier working in android

View Article


Answer by LijuDeveloper

i've got the solution. I got a free plugin for file browser . [C# File Browser][1] in Asset Store. The code is #define thread //comment out this line if you would like to disable multi-threaded search...

View Article

Answer by LijuDeveloper

i've got the solution. I got a free plugin for file browser . [C# File Browser][1] in Asset Store. 1 .For File browser code please refer [Accessing local system ( File Browser )][2] in Unity answers....

View Article


Answer by LijuDeveloper

I got Solution // Disable screen dimming Screen.sleepTimeout = SleepTimeout.NeverSleep; [Screen.sleepTimeout][1] [1]: http://docs.unity3d.com/ScriptReference/Screen-sleepTimeout.html

View Article

Answer by LijuDeveloper

In this code some problem. For example , if player's stamina = 30 , audio will play. whenever stamina = 29,28 ,27 ...........etc ,in each condition audio will play. To avoid this , use a boolean like...

View Article


Answer by LijuDeveloper

If you have basic knowledge in programming , you can use JavaScript, Boo or C# for Game developing. Some programmers use C#, some use JavaScript ,some other use Boo. You can select which one is...

View Article

Answer by LijuDeveloper

This is sample code for Mouse Over Mesh Or Button using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public bool boolMouseOver = false ; void OnMouseOver() // This...

View Article

Answer by LijuDeveloper

Try this code using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public bool boolMouseOver ; public GUISkin MyGUISkin; void OnGUI() { if(boolMouseOver == true ) {...

View Article
Browsing all 49 articles
Browse latest View live


Latest Images