private void Die() { gameObject.SetActive(false); StopCoroutine(TimeDown()); MoleKilled?.Invoke(this); }
private void OnMoleKilled(Mole mole) { MoleKilled?.Invoke(mole); mole.MoleEscaped -= OnMoleEscaped; mole.MoleKilled -= OnMoleKilled; _currentMoles.Remove(mole); }