private static int Action_GameObject(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); Delegate o = DelegateFactory.Action_GameObject(LuaScriptMgr.GetLuaFunction(L, 1)); LuaScriptMgr.Push(L, o); return(1); }