Exemplo n.º 1
0
 internal ScriptFunction(ScriptState luaState, int reference)
 {
     _reference = LuaCore.GetRef(luaState, reference);
     _luaState  = luaState;
 }
Exemplo n.º 2
0
 internal ScriptFunction(ScriptState luaState, ScriptFunctionHandler func)
 {
     _luaState  = luaState;
     _func      = func;
     _reference = -1;
 }
Exemplo n.º 3
0
 internal void Push(ScriptState luaState)
 {
     LuaCore.GlobalRawGet(luaState, _index);
 }