static int _CreateFramework_Singletoninterface(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.Singletoninterface.ctor"); #endif try { int count = LuaDLL.lua_gettop(L); if (count == 0) { Framework.Singletoninterface obj = new Framework.Singletoninterface(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: Framework.Singletoninterface.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SingletoninterfaceOnUninitialize(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.Singletoninterface.SingletoninterfaceOnUninitialize"); #endif try { ToLua.CheckArgsCount(L, 1); Framework.Singletoninterface obj = (Framework.Singletoninterface)ToLua.CheckObject <Framework.Singletoninterface>(L, 1); obj.SingletoninterfaceOnUninitialize(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }