static int ToInit(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UITweenRectPositionBetween obj = (UITweenRectPositionBetween)ToLua.CheckObject(L, 1, typeof(UITweenRectPositionBetween)); obj.ToInit(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Play(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UITweenRectPositionBetween obj = (UITweenRectPositionBetween)ToLua.CheckObject(L, 1, typeof(UITweenRectPositionBetween)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.Play(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_y(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITweenRectPositionBetween obj = (UITweenRectPositionBetween)o; float ret = obj.y; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index y on a nil value" : e.Message)); } }
static int set_to(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITweenRectPositionBetween obj = (UITweenRectPositionBetween)o; UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); obj.to = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index to on a nil value" : e.Message)); } }
static int set_y(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITweenRectPositionBetween obj = (UITweenRectPositionBetween)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.y = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index y on a nil value" : e.Message)); } }
static int get_from(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITweenRectPositionBetween obj = (UITweenRectPositionBetween)o; UnityEngine.Vector2 ret = obj.from; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index from on a nil value" : e.Message)); } }