public virtual void StateDeath() { // Enter if (!hasEnterdNewState) { ManagerUI.score += 10; ManagerUI.KilledEnemy(); Destroy(gameObject); } }