示例#1
0
        static int LoadCustomObject_Lua(IntPtr L)
        {
            var obj = ResMgr.LoadCustomObject(Api.lua_chkstring(L, 1), Api.lua_chkstring(L, 2));

            if (obj == null)
            {
                return(0);
            }
            Lua.PushObjectInternal(L, obj);
            return(1);
        }