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