예제 #1
0
        public override void ActiveEnemyComponent()
        {
            SpellLeft = TotalSpellCount;

            CurrentEnenmyIndex = 0;

            CurrentEnemy = spawnEnemy(CurrentEnenmyIndex);
            CurrentEnemy.OnEnemyFinished += continueBoss;
            CurrentEnemy.ActiveEnemyComponent();
        }
예제 #2
0
        private void continueToNextEnemy()
        {
            CurrentEnemy = spawnEnemy(CurrentEnenmyIndex);
            CurrentEnemy.OnEnemyFinished += continueBoss;

            if (CurrentEnemy is SpellCard)
            {
                SpellLeft--;
            }

            CurrentEnemy.ActiveEnemyComponent();
        }