示例#1
0
 private void invoke_script_thread(LuaScript.CachedFunction type)
 {
     if (_script != null && _script.PushFunction(_lua, type))
     {
         StartThread(_lua);
     }
 }
示例#2
0
 private void invoke_script_function_cached(LuaScript.CachedFunction type)
 {
     if (_script != null && _script.HasFunction(type))
     {
         PushSelfTable(_lua);
         _script.InvokeFunction(_lua, type, 1);
     }
 }