IEnumerable<string> Animations { get; set; }

robot_2Generated
code_blocksInput

Description

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.

Usage

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

// 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);
}