Expand description
UnityEngine.Input (the legacy input manager).
Functionsยง
- input_
string - The characters typed this frame (including
\bfor backspace and\rfor return), for driving a text field. - key
- Whether
keyis held this frame. - key_
down - Whether
keywas pressed this frame. - key_up
- Whether
keywas released this frame. - mouse_
button - Whether mouse
button(0 left, 1 right, 2 middle) is held. - mouse_
position - The cursor position in pixels, origin at the bottom left.
- scroll_
delta - The scroll wheel movement this frame (
xhorizontal,yvertical).