static int Pop(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIPopWindow obj = (UIPopWindow)ToLua.CheckObject(L, 1, typeof(UIPopWindow)); UnityEngine.Transform o = obj.Pop(); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_lifeTime(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPopWindow obj = (UIPopWindow)o; float ret = obj.lifeTime; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lifeTime on a nil value" : e.Message)); } }
static int get_controlID(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPopWindow obj = (UIPopWindow)o; int ret = obj.controlID; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index controlID on a nil value" : e.Message)); } }
static int get_uiMod(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPopWindow obj = (UIPopWindow)o; UIMod ret = obj.uiMod; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index uiMod on a nil value" : e.Message)); } }
static int set_space(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPopWindow obj = (UIPopWindow)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.space = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index space on a nil value" : e.Message)); } }
static int set_uiMod(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPopWindow obj = (UIPopWindow)o; UIMod arg0 = (UIMod)ToLua.CheckUnityObject(L, 2, typeof(UIMod)); obj.uiMod = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index uiMod on a nil value" : e.Message)); } }