static int set_LuaUITemplate(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.LuaUICom.LuaUITemplate"); #endif object o = null; try { o = ToLua.ToObject(L, 1); Framework.LuaUICom obj = (Framework.LuaUICom)o; Framework.LuaUITemplate arg0 = (Framework.LuaUITemplate)ToLua.CheckObject <Framework.LuaUITemplate>(L, 2); obj.LuaUITemplate = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index LuaUITemplate on a nil value")); } }
static int get_LuaUITemplate(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.LuaUICom.LuaUITemplate"); #endif object o = null; try { o = ToLua.ToObject(L, 1); Framework.LuaUICom obj = (Framework.LuaUICom)o; Framework.LuaUITemplate ret = obj.LuaUITemplate; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index LuaUITemplate on a nil value")); } }