Get the list of sequences that can be used.
Get the list of sequences that can be used.
The Sequences
property provides a read-only list of animation sequences available for playback. This property is useful when you need to access the available sequences to play or manage animations within the AnimGraphDirectPlayback
class.
// Example of accessing the Sequences property AnimGraphDirectPlayback animPlayback = new AnimGraphDirectPlayback(); IReadOnlyList<string> availableSequences = animPlayback.Sequences; foreach (string sequence in availableSequences) { // Output or use the sequence name // e.g., animPlayback.Play(sequence); }