Пример #1
0
 private void CheckIfAnyBossIsLeft()
 {
     for (int i = 0; i < bossArray.Length; i++)
     {
         if (bossArray[i].Equals(bossStatus.alive))
         {
             return;
         }
     }
     portal.ActivatePortal();
 }
Пример #2
0
 protected override void Die()
 {
     portalActivation.ActivatePortal();
     base.Die();
 }