NGUI: Next-Gen UI kit
3.7.2
|
Event Hook class lets you easily add remote event listener functions to an object. Example usage: UIEventListener.Get(gameObject).onClick += MyClickFunction; More...
Public Member Functions | |
delegate void | VoidDelegate (GameObject go) |
delegate void | BoolDelegate (GameObject go, bool state) |
delegate void | FloatDelegate (GameObject go, float delta) |
delegate void | VectorDelegate (GameObject go, Vector2 delta) |
delegate void | ObjectDelegate (GameObject go, GameObject draggedObject) |
delegate void | KeyCodeDelegate (GameObject go, KeyCode key) |
Static Public Member Functions | |
static UIEventListener | Get (GameObject go) |
Get or add an event listener to the specified game object. More... | |
Event Hook class lets you easily add remote event listener functions to an object. Example usage: UIEventListener.Get(gameObject).onClick += MyClickFunction;
delegate void UIEventListener.BoolDelegate | ( | GameObject | go, |
bool | state | ||
) |
delegate void UIEventListener.FloatDelegate | ( | GameObject | go, |
float | delta | ||
) |
|
static |
Get or add an event listener to the specified game object.
delegate void UIEventListener.KeyCodeDelegate | ( | GameObject | go, |
KeyCode | key | ||
) |
delegate void UIEventListener.ObjectDelegate | ( | GameObject | go, |
GameObject | draggedObject | ||
) |
delegate void UIEventListener.VectorDelegate | ( | GameObject | go, |
Vector2 | delta | ||
) |
delegate void UIEventListener.VoidDelegate | ( | GameObject | go | ) |
VoidDelegate UIEventListener.onClick |
VoidDelegate UIEventListener.onDoubleClick |
VectorDelegate UIEventListener.onDrag |
VoidDelegate UIEventListener.onDragOut |
VoidDelegate UIEventListener.onDragOver |
ObjectDelegate UIEventListener.onDrop |
BoolDelegate UIEventListener.onHover |
KeyCodeDelegate UIEventListener.onKey |
BoolDelegate UIEventListener.onPress |
FloatDelegate UIEventListener.onScroll |
BoolDelegate UIEventListener.onSelect |
VoidDelegate UIEventListener.onSubmit |
object UIEventListener.parameter |