static int SetSliderValue(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Framework.LuaComponent obj = (Framework.LuaComponent)ToLua.CheckObject <Framework.LuaComponent>(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.SetSliderValue(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int SetSliderValue(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.LuaComponent.SetSliderValue"); #endif try { ToLua.CheckArgsCount(L, 2); Framework.LuaComponent obj = (Framework.LuaComponent)ToLua.CheckObject <Framework.LuaComponent>(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.SetSliderValue(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }