Пример #1
0
 public Lua()
 {
     _luaState = new LuaState();
     Init();
     // We need to keep this in a managed reference so the delegate doesn't get garbage collected
     _luaState.AtPanic(PanicCallback);
 }