コード例 #1
0
    static int ChangeEndValue(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions>), typeof(object), typeof(bool)))
            {
                DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions> obj = (DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions>)ToLua.ToObject(L, 1);
                object arg0           = ToLua.ToVarObject(L, 2);
                bool   arg1           = LuaDLL.lua_toboolean(L, 3);
                DG.Tweening.Tweener o = obj.ChangeEndValue(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4 && TypeChecker.CheckTypes(L, 1, typeof(DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions>), typeof(object), typeof(float), typeof(bool)))
            {
                DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions> obj = (DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, UnityEngine.Vector3, DG.Tweening.Plugins.Options.VectorOptions>)ToLua.ToObject(L, 1);
                object arg0           = ToLua.ToVarObject(L, 2);
                float  arg1           = (float)LuaDLL.lua_tonumber(L, 3);
                bool   arg2           = LuaDLL.lua_toboolean(L, 4);
                DG.Tweening.Tweener o = obj.ChangeEndValue(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Core.TweenerCore<UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions>.ChangeEndValue"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
コード例 #2
0
    static int ChangeEndValue(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2)
            {
                DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> obj = (DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> >(L, 1);
                object arg0           = ToLua.ToVarObject(L, 2);
                DG.Tweening.Tweener o = obj.ChangeEndValue(arg0);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 3 && TypeChecker.CheckTypes <bool>(L, 3))
            {
                DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> obj = (DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> >(L, 1);
                object arg0           = ToLua.ToVarObject(L, 2);
                bool   arg1           = LuaDLL.lua_toboolean(L, 3);
                DG.Tweening.Tweener o = obj.ChangeEndValue(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 3 && TypeChecker.CheckTypes <float>(L, 3))
            {
                DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> obj = (DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> >(L, 1);
                object arg0           = ToLua.ToVarObject(L, 2);
                float  arg1           = (float)LuaDLL.lua_tonumber(L, 3);
                DG.Tweening.Tweener o = obj.ChangeEndValue(arg0, arg1);
                ToLua.PushObject(L, o);
                return(1);
            }
            else if (count == 4)
            {
                DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> obj = (DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <float, float, DG.Tweening.Plugins.Options.FloatOptions> >(L, 1);
                object arg0           = ToLua.ToVarObject(L, 2);
                float  arg1           = (float)LuaDLL.luaL_checknumber(L, 3);
                bool   arg2           = LuaDLL.luaL_checkboolean(L, 4);
                DG.Tweening.Tweener o = obj.ChangeEndValue(arg0, arg1, arg2);
                ToLua.PushObject(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: DG.Tweening.Core.TweenerCore<float,float,DG.Tweening.Plugins.Options.FloatOptions>.ChangeEndValue"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
 static int QPYX_ChangeEndValue_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 2)
         {
             DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> QPYX_obj_YXQP = (DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> >(L_YXQP, 1);
             object QPYX_arg0_YXQP           = ToLua.ToVarObject(L_YXQP, 2);
             DG.Tweening.Tweener QPYX_o_YXQP = QPYX_obj_YXQP.ChangeEndValue(QPYX_arg0_YXQP);
             ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
             return(1);
         }
         else if (QPYX_count_YXQP == 3 && TypeChecker.CheckTypes <float>(L_YXQP, 3))
         {
             DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> QPYX_obj_YXQP = (DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> >(L_YXQP, 1);
             object QPYX_arg0_YXQP           = ToLua.ToVarObject(L_YXQP, 2);
             float  QPYX_arg1_YXQP           = (float)LuaDLL.lua_tonumber(L_YXQP, 3);
             DG.Tweening.Tweener QPYX_o_YXQP = QPYX_obj_YXQP.ChangeEndValue(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
             ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
             return(1);
         }
         else if (QPYX_count_YXQP == 3 && TypeChecker.CheckTypes <bool>(L_YXQP, 3))
         {
             DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> QPYX_obj_YXQP = (DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> >(L_YXQP, 1);
             object QPYX_arg0_YXQP           = ToLua.ToVarObject(L_YXQP, 2);
             bool   QPYX_arg1_YXQP           = LuaDLL.lua_toboolean(L_YXQP, 3);
             DG.Tweening.Tweener QPYX_o_YXQP = QPYX_obj_YXQP.ChangeEndValue(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
             ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
             return(1);
         }
         else if (QPYX_count_YXQP == 4)
         {
             DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> QPYX_obj_YXQP = (DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions>)ToLua.CheckObject <DG.Tweening.Core.TweenerCore <UnityEngine.Vector3, DG.Tweening.Plugins.Core.PathCore.Path, DG.Tweening.Plugins.Options.QuaternionOptions> >(L_YXQP, 1);
             object QPYX_arg0_YXQP           = ToLua.ToVarObject(L_YXQP, 2);
             float  QPYX_arg1_YXQP           = (float)LuaDLL.luaL_checknumber(L_YXQP, 3);
             bool   QPYX_arg2_YXQP           = LuaDLL.luaL_checkboolean(L_YXQP, 4);
             DG.Tweening.Tweener QPYX_o_YXQP = QPYX_obj_YXQP.ChangeEndValue(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP);
             ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
             return(1);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: DG.Tweening.Core.TweenerCore<UnityEngine.Vector3,DG.Tweening.Plugins.Core.PathCore.Path,DG.Tweening.Plugins.Options.QuaternionOptions>.ChangeEndValue"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }