Method | Description | |
---|---|---|
Listen ( LuaState luaState, string eventName ) : void |
Add a game event listener.
|
public static Listen ( LuaState luaState, string eventName ) : void | ||
luaState | LuaState | Pointer to lua_State struct. |
eventName | string | The event to listen to, travels through hooks with eventName as event.
/// |
return | void |