UnityEngine.Experimental.Director.AnimatorControllerPlayable.GetLayerName C# (CSharp) Method

GetLayerName() private method

private GetLayerName ( int layerIndex ) : string
layerIndex int
return string
        public extern string GetLayerName(int layerIndex);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

 static public int GetLayerName(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.GetLayerName(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }