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