Пример #1
0
 void FetchScripts()
 {
     uiButtons = GameObject.Find ("UIButtons").GetComponent<UIButtonsLevelSelection> ();
     uiStars = GameObject.Find ("UIStars").GetComponent<UIStars> ();
     uiEnterLevelText = GameObject.Find ("UIEnterLevelText").GetComponent<UIEnterLevelText> ();
 }
Пример #2
0
 void FetchScripts()
 {
     uiButtons        = GameObject.Find("UIButtons").GetComponent <UIButtonsLevelSelection> ();
     uiStars          = GameObject.Find("UIStars").GetComponent <UIStars> ();
     uiEnterLevelText = GameObject.Find("UIEnterLevelText").GetComponent <UIEnterLevelText> ();
 }