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