Supported Input
To record & track.
Input is provided for different types of targets: 3D/2D/UI or Any Target (anywhere). Currently, the following types of interactions and input are supported:
Manually Call
Any platform
Set manually only
Click
Left mouse click or touch
PC & Mobile
UI Pointer + UI Hover + UI Graphic Text
RightClick
Right mouse button click
PC Only
UI Pointer Mouse + UI Hover
DoubleClick
Double left mouse click or double tap
PC & Mobile
UI Pointer Mouse + UI Hover
DoubleRightClick
Double right mouse click
PC Only
UI Pointer Mouse + UI Hover
Hold
Long press of the left mouse button or hold
PC & Mobile
UI Pointer Mouse + UI Hover
RightHold
Long press of the right mouse button
PC Only
UI Pointer Mouse + UI Hover
Drag
Long press of the left mouse button or hold with object movement
PC & Mobile
UI Pointer Mouse + UI Hover
RightDrag
Long press of the right mouse button with object movement
PC Only
UUI Pointer Mouse + UI Hover
DragAndDrop
Drag and drop element
PC & Mobile
UI Pointer + UI Hover + UI Graphic Text
ScrollUp
Scroll up using mouse wheel
PC Only
UI Graphic Text
ScrollDown
Scroll down using mouse wheel
PC Only
UI Graphic Text
KeyCode
Pressing a keyboard key
PC Only
UI Graphic Text
SwipeUp
Swipe up with a mouse or touch
PC & Mobile
UI Graphic Swipe Circle
SwipeDown
Swipe down with a mouse or touch
PC & Mobile
UI Graphic Swipe Circle
SwipeLeft
Swipe left with a mouse or touch
PC & Mobile
UI Graphic Swipe Circle
SwipeRight
Swipe right with a mouse or touch
PC & Mobile
UI Graphic Swipe Circle
By default, the system is set up for the old Input Manager. To fully switch to the new one, follow these steps:
Open Edit → Project Settings → Player → Configuration, and set Active Input Handling to New if is not already selected.
Install the Input System Unity package if it is not already installed.
Set EventSystem to InputSystemUIInputModule if it is not already used.
Set inputSystemType to New in the InputController component.
Last updated