示例#1
0
 void Update()
 {
     if (Time.timeScale != 0 &&
         !isBossEntered && !GameObject.FindObjectOfType <Boss>())
     {
         int spawnCount = EnemySpawnPoint.getBaseSpawnCount();
         checkBossWave(spawnCount);
     }
 }
示例#2
0
    public static void continueWave()
    {
        Score.increaseScore();
        Feet.instance.startAnimation();
        Background.setBackgroundActive();
        UIHandler.changeMusicClip();

        EnemySpawnPoint.setSpawn();
        EnemySpawnPoint.increaseBaseSpawnCount();

        if (EnemySpawnPoint.getBaseSpawnCount() >= GHOST_LIMIT)
        {
            Enemy.setGhostColor();
        }

        isBossEntered = false;
    }