private void LaunchBossDie() { if (LevelsChanger.Instance.IsLastLevel) { FinalBossDied.Invoke(); } else { BossDied.Invoke(); } }
private void LaunchBossDie(int amn) { Boss.BossDied -= Boss_BossDied; if (LevelsChanger.Instance.IsLastLevel) { // get levels counter from last boss FinalBossDied.Invoke(amn); } else { BossDied.Invoke(); } }