static int SetProgress(IntPtr L) { L.ChkArgsCount(2); ZFrame.UGUI.UISlider obj = (ZFrame.UGUI.UISlider)L.ChkUnityObjectSelf(1, "ZFrame.UGUI.UISlider"); var arg0 = (float)L.ChkNumber(2); obj.SetProgress(arg0); return(0); }
static int Tween(IntPtr L) { L.ChkArgsCount(4); ZFrame.UGUI.UISlider obj = (ZFrame.UGUI.UISlider)L.ChkUnityObjectSelf(1, "ZFrame.UGUI.UISlider"); var arg0 = L.ToAnyObject(2); var arg1 = L.ToAnyObject(3); var arg2 = (float)L.ChkNumber(4); ZFrame.Tween.ZTweener o = obj.Tween(arg0, arg1, arg2); L.PushLightUserData(o); return(1); }
static int set_onValue(IntPtr L) { object o = L.ToUserData(1); ZFrame.UGUI.UISlider obj = (ZFrame.UGUI.UISlider)o; if (obj == null) { LuaTypes types = L.Type(1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name onValue"); } else { LuaDLL.luaL_error(L, "attempt to index onValue on a nil value"); } } LuaTypes funcType = L.Type(3); if (funcType != LuaTypes.LUA_TFUNCTION) { obj.onValue = (UnityEngine.Events.UnityAction <ZFrame.UGUI.UISlider>)L.ChkUserData(3, typeof(UnityEngine.Events.UnityAction <ZFrame.UGUI.UISlider>)); } else { LuaFunction func = L.ToLuaFunction(3); obj.onValue = (param0) => { int top = func.BeginPCall(); L.PushLightUserData(param0); func.PCall(top, 1); func.EndPCall(top); }; } return(0); }
static int get_maxLmt(IntPtr L) { object o = L.ToUserData(1); ZFrame.UGUI.UISlider obj = (ZFrame.UGUI.UISlider)o; if (obj == null) { LuaTypes types = L.Type(1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name maxLmt"); } else { LuaDLL.luaL_error(L, "attempt to index maxLmt on a nil value"); } } L.PushNumber(obj.maxLmt); return(1); }
static int set_minLmt(IntPtr L) { object o = L.ToUserData(1); ZFrame.UGUI.UISlider obj = (ZFrame.UGUI.UISlider)o; if (obj == null) { LuaTypes types = L.Type(1); if (types == LuaTypes.LUA_TTABLE) { LuaDLL.luaL_error(L, "unknown member name minLmt"); } else { LuaDLL.luaL_error(L, "attempt to index minLmt on a nil value"); } } obj.minLmt = (float)L.ChkNumber(3); return(0); }