The Animations
property provides a list of animations that can be used within the AnimGraphDirectPlayback
class. This property is marked as obsolete, and it is recommended to use the Sequences
property instead.
The Animations
property provides a list of animations that can be used within the AnimGraphDirectPlayback
class. This property is marked as obsolete, and it is recommended to use the Sequences
property instead.
To access the list of animations, you can iterate over the Animations
property. However, since this property is obsolete, consider using the Sequences
property for future-proofing your code.
// Example of accessing the Animations property AnimGraphDirectPlayback animGraph = new AnimGraphDirectPlayback(); // Obsolete: Use Sequences instead foreach (string animation in animGraph.Animations) { // Process each animation Console.WriteLine(animation); }