static int SetSpeedBased(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { DG.Tweening.Sequence obj = (DG.Tweening.Sequence)ToLua.CheckObject(L, 1, typeof(DG.Tweening.Sequence)); DG.Tweening.Tween o = obj.SetSpeedBased(); ToLua.PushObject(L, o); return(1); } else if (count == 2) { DG.Tweening.Sequence obj = (DG.Tweening.Sequence)ToLua.CheckObject(L, 1, typeof(DG.Tweening.Sequence)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); DG.Tweening.Tween o = obj.SetSpeedBased(arg0); ToLua.PushObject(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Sequence.SetSpeedBased")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int QPYX_SetSpeedBased_YXQP(IntPtr L_YXQP) { try { int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP); if (QPYX_count_YXQP == 1) { DG.Tweening.Sequence QPYX_obj_YXQP = (DG.Tweening.Sequence)ToLua.CheckObject(L_YXQP, 1, typeof(DG.Tweening.Sequence)); DG.Tweening.Tween QPYX_o_YXQP = QPYX_obj_YXQP.SetSpeedBased(); ToLua.PushObject(L_YXQP, QPYX_o_YXQP); return(1); } else if (QPYX_count_YXQP == 2) { DG.Tweening.Sequence QPYX_obj_YXQP = (DG.Tweening.Sequence)ToLua.CheckObject(L_YXQP, 1, typeof(DG.Tweening.Sequence)); bool QPYX_arg0_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 2); DG.Tweening.Tween QPYX_o_YXQP = QPYX_obj_YXQP.SetSpeedBased(QPYX_arg0_YXQP); ToLua.PushObject(L_YXQP, QPYX_o_YXQP); return(1); } else { return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: DG.Tweening.Sequence.SetSpeedBased")); } } catch (Exception e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP)); } }
static int _m_SetSpeedBased(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DG.Tweening.Sequence __cl_gen_to_be_invoked = (DG.Tweening.Sequence)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); if (__gen_param_count == 1) { DG.Tweening.Tween __cl_gen_ret = __cl_gen_to_be_invoked.SetSpeedBased( ); translator.Push(L, __cl_gen_ret); return(1); } if (__gen_param_count == 2 && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) { bool isSpeedBased = LuaAPI.lua_toboolean(L, 2); DG.Tweening.Tween __cl_gen_ret = __cl_gen_to_be_invoked.SetSpeedBased(isSpeedBased); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to DG.Tweening.Sequence.SetSpeedBased!")); }