/// <summary> /// Adds state to tracked state /// </summary> /// <param name="state"></param> public void AddState(Vector2ControlState state) { AddState(state.buttonState.pressed, state.delta); }
/// <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); }