AddMixingTransform() private method

private AddMixingTransform ( Transform mix ) : void
mix Transform
return void
 static public int AddMixingTransform(IntPtr l)
 {
     try{
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 3)
         {
             UnityEngine.AnimationState self = (UnityEngine.AnimationState)checkSelf(l);
             UnityEngine.Transform      a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             self.AddMixingTransform(a1, a2);
             return(0);
         }
         else if (argc == 2)
         {
             UnityEngine.AnimationState self = (UnityEngine.AnimationState)checkSelf(l);
             UnityEngine.Transform      a1;
             checkType(l, 2, out a1);
             self.AddMixingTransform(a1);
             return(0);
         }
         LuaDLL.luaL_error(l, "No matched override function to call");
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
    static int AddMixingTransform(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2)
            {
                UnityEngine.AnimationState obj  = (UnityEngine.AnimationState)ToLua.CheckObject <UnityEngine.AnimationState>(L, 1);
                UnityEngine.Transform      arg0 = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L, 2);
                obj.AddMixingTransform(arg0);
                return(0);
            }
            else if (count == 3)
            {
                UnityEngine.AnimationState obj  = (UnityEngine.AnimationState)ToLua.CheckObject <UnityEngine.AnimationState>(L, 1);
                UnityEngine.Transform      arg0 = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L, 2);
                bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
                obj.AddMixingTransform(arg0, arg1);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.AnimationState.AddMixingTransform"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
Exemplo n.º 3
0
 static public int AddMixingTransform(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             UnityEngine.AnimationState self = (UnityEngine.AnimationState)checkSelf(l);
             UnityEngine.Transform      a1;
             checkType(l, 2, out a1);
             self.AddMixingTransform(a1);
             pushValue(l, true);
             return(1);
         }
         else if (argc == 3)
         {
             UnityEngine.AnimationState self = (UnityEngine.AnimationState)checkSelf(l);
             UnityEngine.Transform      a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             self.AddMixingTransform(a1, a2);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function AddMixingTransform to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
    static int AddMixingTransform(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.AnimationState.Register");
#endif
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2)
            {
                UnityEngine.AnimationState obj  = (UnityEngine.AnimationState)ToLua.CheckObject(L, 1, typeof(UnityEngine.AnimationState));
                UnityEngine.Transform      arg0 = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L, 2);
                obj.AddMixingTransform(arg0);
                return(0);
            }
            else if (count == 3)
            {
                UnityEngine.AnimationState obj  = (UnityEngine.AnimationState)ToLua.CheckObject(L, 1, typeof(UnityEngine.AnimationState));
                UnityEngine.Transform      arg0 = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L, 2);
                bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
                obj.AddMixingTransform(arg0, arg1);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.AnimationState.AddMixingTransform"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int AddMixingTransform(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.AnimationState), typeof(UnityEngine.Transform)))
            {
                UnityEngine.AnimationState obj  = (UnityEngine.AnimationState)ToLua.ToObject(L, 1);
                UnityEngine.Transform      arg0 = (UnityEngine.Transform)ToLua.ToObject(L, 2);
                obj.AddMixingTransform(arg0);
                return(0);
            }
            else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.AnimationState), typeof(UnityEngine.Transform), typeof(bool)))
            {
                UnityEngine.AnimationState obj  = (UnityEngine.AnimationState)ToLua.ToObject(L, 1);
                UnityEngine.Transform      arg0 = (UnityEngine.Transform)ToLua.ToObject(L, 2);
                bool arg1 = LuaDLL.lua_toboolean(L, 3);
                obj.AddMixingTransform(arg0, arg1);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.AnimationState.AddMixingTransform"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
 static int QPYX_AddMixingTransform_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 2)
         {
             UnityEngine.AnimationState QPYX_obj_YXQP  = (UnityEngine.AnimationState)ToLua.CheckObject(L_YXQP, 1, typeof(UnityEngine.AnimationState));
             UnityEngine.Transform      QPYX_arg0_YXQP = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L_YXQP, 2);
             QPYX_obj_YXQP.AddMixingTransform(QPYX_arg0_YXQP);
             return(0);
         }
         else if (QPYX_count_YXQP == 3)
         {
             UnityEngine.AnimationState QPYX_obj_YXQP  = (UnityEngine.AnimationState)ToLua.CheckObject(L_YXQP, 1, typeof(UnityEngine.AnimationState));
             UnityEngine.Transform      QPYX_arg0_YXQP = (UnityEngine.Transform)ToLua.CheckObject <UnityEngine.Transform>(L_YXQP, 2);
             bool QPYX_arg1_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 3);
             QPYX_obj_YXQP.AddMixingTransform(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
             return(0);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: UnityEngine.AnimationState.AddMixingTransform"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static public int AddMixingTransform__Transform(IntPtr l)
 {
     try {
         UnityEngine.AnimationState self = (UnityEngine.AnimationState)checkSelf(l);
         UnityEngine.Transform      a1;
         checkType(l, 2, out a1);
         self.AddMixingTransform(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int AddMixingTransform(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             UnityEngine.AnimationState self = (UnityEngine.AnimationState)checkSelf(l);
             UnityEngine.Transform      a1;
             checkType(l, 2, out a1);
             self.AddMixingTransform(a1);
             pushValue(l, true);
             return(1);
         }
         else if (argc == 3)
         {
             UnityEngine.AnimationState self = (UnityEngine.AnimationState)checkSelf(l);
             UnityEngine.Transform      a1;
             checkType(l, 2, out a1);
             System.Boolean a2;
             checkType(l, 3, out a2);
             self.AddMixingTransform(a1, a2);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function AddMixingTransform to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }