GetLayerIndex() private method

private GetLayerIndex ( string layerName ) : int
layerName string
return int
 static public int GetLayerIndex(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
         System.String a1;
         checkType(l, 2, out a1);
         var ret = self.GetLayerIndex(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }