static public int GetOverrides(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
         UnityEngine.AnimatorOverrideController self = (UnityEngine.AnimatorOverrideController)checkSelf(l);
         System.Collections.Generic.List <System.Collections.Generic.KeyValuePair <UnityEngine.AnimationClip, UnityEngine.AnimationClip> > a1;
         checkType(l, 2, out a1);
         self.GetOverrides(a1);
         pushValue(l, true);
         return(1);
     }
     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
 }
 static public int GetOverrides(IntPtr l)
 {
     try {
         UnityEngine.AnimatorOverrideController self = (UnityEngine.AnimatorOverrideController)checkSelf(l);
         System.Collections.Generic.List <System.Collections.Generic.KeyValuePair <UnityEngine.AnimationClip, UnityEngine.AnimationClip> > a1;
         checkType(l, 2, out a1);
         self.GetOverrides(a1);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #3
0
 static int GetOverrides(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.AnimatorOverrideController obj = (UnityEngine.AnimatorOverrideController)ToLua.CheckObject <UnityEngine.AnimatorOverrideController>(L, 1);
         System.Collections.Generic.List <System.Collections.Generic.KeyValuePair <UnityEngine.AnimationClip, UnityEngine.AnimationClip> > arg0 = (System.Collections.Generic.List <System.Collections.Generic.KeyValuePair <UnityEngine.AnimationClip, UnityEngine.AnimationClip> >)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <System.Collections.Generic.KeyValuePair <UnityEngine.AnimationClip, UnityEngine.AnimationClip> >));
         obj.GetOverrides(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }