Wanzyee Studio

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...
 

Detailed Description

Invoke event by single keyboard input operation.

Member Function Documentation

void Invoke ( )

Invoke the listener event.

Member Data Documentation

Key state when to invoke.

KeyCode key = KeyCode.None

Input key to check state.

UnityEvent onKey = new UnityEvent()

Listener event to invoke.