static int ResetChildren(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIScrollBase obj = (UIScrollBase)ToLua.CheckObject(L, 1, typeof(UIScrollBase)); obj.ResetChildren(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int OnInitializePotentialDrag(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UIScrollBase obj = (UIScrollBase)ToLua.CheckObject(L, 1, typeof(UIScrollBase)); UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData)); obj.OnInitializePotentialDrag(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int TurnBy(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UIScrollBase obj = (UIScrollBase)ToLua.CheckObject(L, 1, typeof(UIScrollBase)); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.TurnBy(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_centerOnChildDecay(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.centerOnChildDecay = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index centerOnChildDecay on a nil value" : e.Message)); } }
static int set_centerOnChild(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.centerOnChild = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index centerOnChild on a nil value" : e.Message)); } }
static int set_moveType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; UIScrollBase.MovementType arg0 = (UIScrollBase.MovementType)ToLua.CheckObject(L, 2, typeof(UIScrollBase.MovementType)); obj.moveType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index moveType on a nil value" : e.Message)); } }
static int set_viewPort(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; UnityEngine.RectTransform arg0 = (UnityEngine.RectTransform)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.RectTransform)); obj.viewPort = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index viewPort on a nil value" : e.Message)); } }
static int set_uiMod(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)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)); } }
static int set_controlID(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.controlID = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index controlID on a nil value" : e.Message)); } }
static int get_darkRatio(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; float ret = obj.darkRatio; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index darkRatio on a nil value" : e.Message)); } }
static int get_darkFromCenter(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; bool ret = obj.darkFromCenter; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index darkFromCenter on a nil value" : e.Message)); } }
static int get_moveType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; UIScrollBase.MovementType ret = obj.moveType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index moveType on a nil value" : e.Message)); } }
static int get_enableDragginEvent(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; bool ret = obj.enableDragginEvent; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index enableDragginEvent on a nil value" : e.Message)); } }
static int get_viewPort(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)o; UnityEngine.RectTransform ret = obj.viewPort; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index viewPort on a nil value" : e.Message)); } }
static int get_uiMod(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)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 get_controlID(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollBase obj = (UIScrollBase)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)); } }