private void Update() { if (health.IsDead() || playerController.IsDead) { return; } mover.MoveTo(player.position); fighter.Attack(); }