public override void ExecuteAfterAnimation() { base.ExecuteAfterAnimation(); GameObject[] players = GameObject.FindGameObjectsWithTag("Player"); _player = players[0]; //tanto lo trova sicuramente _player.gameObject.GetComponent <PlayerStatus>().TakeDamage(_caputMallei.getSundayMorningDamage()); _caputMallei.setSundayMorningClock(Time.time); _stateMachine.ChangeState(_caputMallei._moveState); }