Exemple #1
0
 private void EndGame()
 {
     collisionState = CollisionState.Disabled;
     startTween.Kill();
     movement.StopMoving();
     Explode();
     Hide();
     Die?.Invoke();
     GameManager.FinishEndGame();
 }
Exemple #2
0
 public void Stop()
 {
     mover.StopMoving();
     state = State.Active;
 }
Exemple #3
0
 private void StopChase()
 {
     _mover.StopMoving();
 }