public void Die() { _isDead = true; inputHandler.AddInputReceiverUnregisterAwaiter(this); animator.SetTrigger("Die"); RuleManager.Rule?.OnDeath(this); }
public void Die() { _isDead = true; inputHandler.AddInputReceiverUnregisterAwaiter(this); animator.SetTrigger("Die"); RuleManager.Rule?.OnDeath(this); }