Example #1
0
    private void OnMove(InputValue value)
    {
        var input = value.Get <Vector2>();

        OnMoveAction?.Invoke(input);
    }
Example #2
0
 public void OnMove(InputAction.CallbackContext context)
 {
     moveContext = context;
     OnMoveAction?.Invoke(context);
 }