static int ResetChildren(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UIScrollRing obj = (UIScrollRing)ToLua.CheckObject(L, 1, typeof(UIScrollRing)); obj.ResetChildren(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_anglePerChild(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollRing obj = (UIScrollRing)o; float ret = obj.anglePerChild; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index anglePerChild on a nil value" : e.Message)); } }
static int get_axis(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollRing obj = (UIScrollRing)o; UnityEngine.Transform ret = obj.axis; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index axis on a nil value" : e.Message)); } }
static int set_childFixed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollRing obj = (UIScrollRing)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.childFixed = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index childFixed on a nil value" : e.Message)); } }
static int set_childRadius(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollRing obj = (UIScrollRing)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.childRadius = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index childRadius on a nil value" : e.Message)); } }
static int set_axis(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollRing obj = (UIScrollRing)o; UnityEngine.Transform arg0 = (UnityEngine.Transform)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Transform)); obj.axis = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index axis on a nil value" : e.Message)); } }
static int get_childFixed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIScrollRing obj = (UIScrollRing)o; bool ret = obj.childFixed; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index childFixed on a nil value" : e.Message)); } }