Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ChangedTransition

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

Definition

public readonly struct ChangedTransition

Remarks

A removed ITransition does not have a matching
ChangedTransition
.
Changes to the rules and conditions carried by a transition are categorized as ChangeKind.Data on the transition itself. Read ITransition.GetRules to find what changed.
For a usage example, see StateMachineChanges.

Properties

Property

Description

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