Unity Engine documentationScript ReferenceUnity.GraphToolkit.EditorStateMachineStateCountThe number of IState s in the state machine.Read time 1 minuteLast updated 10 days agoDefinition Type: Property Namespace: Unity.GraphToolkit.Editor Assembly: UnityEditor public int StateCount { get; }