void FetchScripts() { uiButtons = GameObject.Find ("UIButtons").GetComponent<UIButtonsLevelSelection> (); uiStars = GameObject.Find ("UIStars").GetComponent<UIStars> (); uiEnterLevelText = GameObject.Find ("UIEnterLevelText").GetComponent<UIEnterLevelText> (); }
void FetchScripts() { uiButtons = GameObject.Find("UIButtons").GetComponent <UIButtonsLevelSelection> (); uiStars = GameObject.Find("UIStars").GetComponent <UIStars> (); uiEnterLevelText = GameObject.Find("UIEnterLevelText").GetComponent <UIEnterLevelText> (); }