/// <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]); } }
void OnEnable() { Manager = FindObjectOfType <UMW_Manager>(); }