06.02.2017 N/A Unity dynamically add prefab Script Unity dynamically add prefab Script To add prefab dynamically, do this: GameObject variableForPrefab = (GameObject)Resources.Load(“prefabs/prefab_of_game”, typeof(GameObject)); Unity Read More
08.12.2016 N/A Unity change dynamically Button text. Unity динамическая смена имени кнопки Unity change dynamically Button text. Unity динамическая смена имени кнопки Button button; button.GetComponentInChildren<UnityEngine.UI.Text>().text = “text 1”; Unity Read More
13.02.2016 N/A Unity. Set transparent button. Делаем кнопку в Unity прозрачно Unity. Set transparent button. Делаем кнопку в Unity прозрачной controlTexture = Resources.Load(“clear”) as Texture2D; GUI.backgroundColor = Color.clear; if(GUI.Button(Rect(20,20,60,60), controlTexture)){ } Unity Read More