Example #1
0
 private void HandleInteractionModuleInputAction(InputActionData _inputData)
 {
     HandleInputAction?.Invoke(_inputData);
 }
    protected void SendInputAction(InputType _type, Vector2 _cursorPosition, Vector2 _clickPosition, float _distanceFromScreen)
    {
        InputActionData actionData = new InputActionData(InteractionType, _type, _cursorPosition, _clickPosition, _distanceFromScreen);

        HandleInputAction?.Invoke(actionData);
    }