Пример #1
0
 public static void SetGlobalHookCallback()
 {
     LuaCore.SetDotNetHook(Functioner.HookHandler);
 }
Пример #2
0
 public object TryGetObject(ScriptState luaState, int index, out int uindex)
 {
     uindex = LuaCore.ToUserData(luaState, index);
     return(this[uindex]);
 }