Пример #1
0
 void Update()
 {
     if (distCont.checkBossStage() && !bossSpawned)
     {
         nextState.Enter();
         bossSpawned = true;
     }
 }