예제 #1
0
 public void Show()
 {
     mover.StartMoving(currentData.Speed);
     visibility.Show();
     objectVisibility.Show();
     state = State.Moving;
 }
예제 #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();
 }