static int GetResManager(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 0); Teacher.Manager.ResourceManager o = Teacher.LuaHelper.GetResManager(); LuaScriptMgr.Push(L, o); return(1); }
static int LoadAsset(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 4); Teacher.Manager.ResourceManager obj = (Teacher.Manager.ResourceManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "Teacher.Manager.ResourceManager"); string arg0 = LuaScriptMgr.GetLuaString(L, 2); string arg1 = LuaScriptMgr.GetLuaString(L, 3); LuaFunction arg2 = LuaScriptMgr.GetLuaFunction(L, 4); obj.LoadAsset(arg0, arg1, arg2); return(0); }
static int LoadImage(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 5); Teacher.Manager.ResourceManager obj = (Teacher.Manager.ResourceManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "Teacher.Manager.ResourceManager"); string arg0 = LuaScriptMgr.GetLuaString(L, 2); string arg1 = LuaScriptMgr.GetLuaString(L, 3); GameObject arg2 = (GameObject)LuaScriptMgr.GetUnityObject(L, 4, typeof(GameObject)); LuaFunction arg3 = LuaScriptMgr.GetLuaFunction(L, 5); obj.LoadImage(arg0, arg1, arg2, arg3); return(0); }