Turns Input.GetKeyDown into a UnityEvent. More...
Inherits MonoBehaviour.
Data Structures | |
class | OnKeyDownEvent |
Data Fields | |
KeyCode | keyCode |
OnKeyDownEvent | keyDownEvent |
Event fired whenever Input.GetKeyDown(keyCode) returns true. | |
Turns Input.GetKeyDown into a UnityEvent.
This behaviour can be added to the same GameObject multiple times to process different key codes.