public void Damaged(int damage) { dead = true; Debug.Log("Damage"); life.OnDamage(damage); ChangeState(deadState); levelScript.FadeToDeath(); }