Skip to content

AnimationStateMachine.ValidateTransitions() Method

Definition

Namespace: Brine2D.Animation

Checks that every From and To name in all registered transitions (and the default state) refers to a clip that has actually been added to the underlying animator. Returns a list of human-readable issue strings. An empty list means everything is valid.

public System.Collections.Generic.IReadOnlyList<string> ValidateTransitions();

Returns

System.Collections.Generic.IReadOnlyList<System.String>