示例#1
0
 /// <summary>
 /// Adds state to tracked state
 /// </summary>
 /// <param name="state"></param>
 public void AddState(Vector2ControlState state)
 {
     AddState(state.buttonState.pressed, state.delta);
 }
示例#2
0
 /// <summary>
 /// Finalizes the control with another control state (applying the state's delta as delta), calls events
 /// </summary>
 public void ApplyState(Vector2ControlState state)
 {
     FinalizeState(state.buttonState.pressed, state.delta);
 }