static int SetCount(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UI.UIGroup obj = (UI.UIGroup)ToLua.CheckObject(L, 1, typeof(UI.UIGroup)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.SetCount(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetEnumerator(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UI.UIGroup obj = (UI.UIGroup)ToLua.CheckObject(L, 1, typeof(UI.UIGroup)); System.Collections.IEnumerator o = obj.GetEnumerator(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_Item(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UI.UIGroup obj = (UI.UIGroup)ToLua.CheckObject(L, 1, typeof(UI.UIGroup)); int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); UnityEngine.GameObject o = obj[arg0]; ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_Count(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIGroup obj = (UI.UIGroup)o; int ret = obj.Count; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index Count on a nil value" : e.Message)); } }
public static void Show() { Group = ModMenu.Ins.Cover(new[] { "UIPrefab/MainMenu_Board" }); }
public static void Show() { Group = ModMenu.Ins.Cover(new[] { "UIPrefab/Bottom_Board", "UIPrefab/DifficultySelect_Board" }); }