static int Init(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); UITabsControl obj = LuaScriptMgr.GetUnityObject <UITabsControl>(L, 1); obj.Init(); return(0); }
static int ActivePanel(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); UITabsControl obj = LuaScriptMgr.GetUnityObject <UITabsControl>(L, 1); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); obj.ActivePanel(arg0); return(0); }
static int AddEntry(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 3); UITabsControl obj = LuaScriptMgr.GetUnityObject <UITabsControl>(L, 1); GameObject arg0 = LuaScriptMgr.GetUnityObject <GameObject>(L, 2); GameObject arg1 = LuaScriptMgr.GetUnityObject <GameObject>(L, 3); obj.AddEntry(arg0, arg1); return(0); }
static int set_Entries(IntPtr L) { object o = LuaScriptMgr.GetLuaObject(L, 1); UITabsControl obj = (UITabsControl)o; if (obj == null) { LuaTypes types = LuaDLL.lua_type(L, 1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name Entries"); } else { LuaDLL.luaL_error(L, "attempt to index Entries on a nil value"); } } obj.Entries = LuaScriptMgr.GetNetObject <List <UITabControlEntry> >(L, 3); return(0); }