Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangedState

Describes a single state that was added, or modified, paired with the categories of changes that affected it.
Read time 1 minuteLast updated 6 days ago

Definition

public readonly struct ChangedState

Remarks

A removed IState does not have a matching
ChangedState
.
A subgraph state is reported through ChangedSubgraphState instead, in StateMachineChanges.ChangedSubgraphStates.
For a usage example, see StateMachineChanges.

Properties

Property

Description

ChangeKindsThe categories of changes that affected this state, as a set of ChangeKind flags.
IDThe unique identifier of the state.
StateThe state that was modified.