Scripting API

InputSystemUIInputModule

class in UnityEngine.InputSystem.UI · Unity.InputSystem · inherits from PointerInputModule

31 of 34 of Unity's members
In Tassix

UI input from the Input System: the current pointer (position, the mouse's three buttons and scroll wheel) and the keyboard (arrows and WASD navigate, Enter and Space submit, Escape cancels).
Action references (point, leftClick...) are kept and saved, but input is read from the devices those default actions bind to: actions of a project's own aren't followed yet.

Properties 18

InputActionAsset? actionsAsset { get; set; }
InputActionReference? cancel { get; set; }
CursorLockBehavior cursorLockBehavior { get; set; }
bool deselectOnBackgroundClick { get; set; }
InputActionReference? leftClick { get; set; }
InputActionReference? middleClick { get; set; }
InputActionReference? move { get; set; }
float moveRepeatDelay { get; set; }
float moveRepeatRate { get; set; }
InputActionReference? point { get; set; }
UIPointerBehavior pointerBehavior { get; set; }
InputActionReference? rightClick { get; set; }
float scrollDeltaPerTick { get; set; }
InputActionReference? scrollWheel { get; set; }
InputActionReference? submit { get; set; }
InputActionReference? trackedDeviceOrientation { get; set; }
InputActionReference? trackedDevicePosition { get; set; }
Transform? xrTrackingOrigin { get; set; }

Methods 5

void AssignDefaultActions()

The Input System's default UI actions (DefaultInputActions), as a new module gets in Unity's editor.

RaycastResult GetLastRaycastResult(int pointerOrTouchId)
bool IsPointerOverGameObject(int pointerOrTouchId)
void Process()
void UnassignActions()

Not in Tassix yet 3

GetNavigationEventDeviceType Reset trackedDeviceDragThresholdMultiplier