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)); } }