static public int PreloadObject(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 2) { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); System.String a1; checkType(l, 2, out a1); self.PreloadObject(a1); pushValue(l, true); return(1); } else if (argc == 3) { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); System.String a1; checkType(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); self.PreloadObject(a1, a2); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int NewObject(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (matchType(l, argc, 2, typeof(UnityEngine.Object))) { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); UnityEngine.Object a1; checkType(l, 2, out a1); var ret = self.NewObject(a1); pushValue(l, true); pushValue(l, ret); return(2); } else if (matchType(l, argc, 2, typeof(string))) { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); System.String a1; checkType(l, 2, out a1); var ret = self.NewObject(a1); pushValue(l, true); pushValue(l, ret); return(2); } else if (matchType(l, argc, 2, typeof(UnityEngine.Object), typeof(float))) { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); UnityEngine.Object a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); var ret = self.NewObject(a1, a2); pushValue(l, true); pushValue(l, ret); return(2); } else if (matchType(l, argc, 2, typeof(string), typeof(float))) { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); System.String a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); var ret = self.NewObject(a1, a2); pushValue(l, true); pushValue(l, ret); return(2); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Init(IntPtr l) { try { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); self.Init(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int PreloadSharedResource(IntPtr l) { try { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); System.String a1; checkType(l, 2, out a1); self.PreloadSharedResource(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int RecycleObject(IntPtr l) { try { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); UnityEngine.Object a1; checkType(l, 2, out a1); var ret = self.RecycleObject(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int SetVisible(IntPtr l) { try { GameFramework.ResourceSystem self = (GameFramework.ResourceSystem)checkSelf(l); UnityEngine.GameObject a1; checkType(l, 2, out a1); System.Boolean a2; checkType(l, 3, out a2); UnityEngine.CharacterController a3; checkType(l, 4, out a3); self.SetVisible(a1, a2, a3); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }