static int ToInit(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UITweenJump obj = (UITweenJump)ToLua.CheckObject(L, 1, typeof(UITweenJump)); obj.ToInit(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Play(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UITweenJump obj = (UITweenJump)ToLua.CheckObject(L, 1, typeof(UITweenJump)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.Play(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_to(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITweenJump obj = (UITweenJump)o; UnityEngine.Vector3 ret = obj.to; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index to on a nil value" : e.Message)); } }
static int set_end(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITweenJump obj = (UITweenJump)o; UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); obj.end = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index end on a nil value" : e.Message)); } }