Invoke event by single keyboard input operation. More...
Inherits MonoBehaviour.
Public Member Functions | |
void | Invoke () |
Invoke the listener event. More... | |
Public Attributes | |
KeyState | on = KeyState.Press |
Key state when to invoke. More... | |
KeyCode | key = KeyCode.None |
Input key to check state. More... | |
UnityEvent | onKey = new UnityEvent() |
Listener event to invoke. More... | |
Invoke event by single keyboard input operation.
void Invoke | ( | ) |
Invoke the listener event.
KeyState on = KeyState.Press |
Key state when to invoke.
KeyCode key = KeyCode.None |
Input key to check state.
UnityEvent onKey = new UnityEvent() |
Listener event to invoke.