UnityEngine.Experimental.Director.AnimatorControllerPlayable.HasState C# (CSharp) Метод

HasState() приватный Метод

private HasState ( int layerIndex, int stateID ) : bool
layerIndex int
stateID int
Результат bool
        public extern bool HasState(int layerIndex, int stateID);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

 static public int HasState(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         var ret = self.HasState(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }