GetNextAnimatorClipInfo() private method

private GetNextAnimatorClipInfo ( int layerIndex ) : UnityEngine.AnimatorClipInfo[]
layerIndex int
return UnityEngine.AnimatorClipInfo[]
 static public int GetNextAnimatorClipInfo(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             var ret = self.GetNextAnimatorClipInfo(a1);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         else if (argc == 3)
         {
             UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             System.Collections.Generic.List <UnityEngine.AnimatorClipInfo> a2;
             checkType(l, 3, out a2);
             self.GetNextAnimatorClipInfo(a1, a2);
             pushValue(l, true);
             return(1);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetNextAnimatorClipInfo(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         var ret = self.GetNextAnimatorClipInfo(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }