Пример #1
0
 /// <summary>
 ///
 /// </summary>
 void Awake()
 {
     Manager = FindObjectOfType <UMW_Manager>();
     LoadSettings();
     StartCoroutine(Fade(true));
     PlayButton.SetActive(false);
     playButtonScript = PlayButton.GetComponent <Button>();
     if (Manager.Levels.Count > 0)
     {
         SetSelectLevel(Manager.Levels[0]);
     }
 }
Пример #2
0
 void OnEnable()
 {
     Manager = FindObjectOfType <UMW_Manager>();
 }