Esempio n. 1
0
 public void Show()
 {
     mover.StartMoving(currentData.Speed);
     visibility.Show();
     objectVisibility.Show();
     state = State.Moving;
 }
Esempio n. 2
0
 private void OnGameRestart()
 {
     collisionState     = CollisionState.Disabled;
     transform.position = underCameraPosition.position;
     visibility.Show();
     transform.DOMoveY(startingPosition.y, properties.MovementProperties.RestartMovementDuration)
     .SetEase(properties.MovementProperties.Easing);
     StartGame();
 }