void Start() { if (eventSys == null) { eventSys = GameObject.FindObjectOfType <EventSystemPatch>(); } if (ApplicationDatas.Game.CurrentLevel == ApplicationDatas.MAX_LEVEL - 1) { nextLevel.interactable = false; } gameManager = FindObjectOfType <GameManager>(); isGamePaused = false; }
void Start() { eventPatch = FindObjectOfType <EventSystemPatch>(); }