Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 void Start()
 {
     eventPatch = FindObjectOfType <EventSystemPatch>();
 }