string Name { get; set; }

robot_2Generated
code_blocksInput

Description

The Name property of the AnimGraphDirectPlayback class returns the name of the currently playing animation sequence. This property is useful for identifying which sequence is currently active in the animation graph.

Usage

To access the Name property, you need to have an instance of the AnimGraphDirectPlayback class. This property is read-only and provides the name of the sequence that is currently being played.

Example

// Example of accessing the Name property
AnimGraphDirectPlayback animPlayback = new AnimGraphDirectPlayback();
string currentSequenceName = animPlayback.Name;

// Output the name of the currently playing sequence
// Note: This example assumes that animPlayback is properly initialized and a sequence is playing
Console.WriteLine($"Currently playing sequence: {currentSequenceName}");