Set() public method

public Set ( float speed = -1 ) : void
speed float
return void
Exemplo n.º 1
0
 private static void SetMoveStates(Vector2 end)
 {
     BeforeMoveState = new CameraState();
     BeforeMoveState.Set();
     AfterMoveState = new CameraState(BeforeMoveState.YawPitch, end, BeforeMoveState.Zoom);
 }
Exemplo n.º 2
0
 private void MoveCamera()
 {
     CameraState = new CameraState {Position = Player.Instance.Position.To2D()};
     CameraState.Set();
 }