The Name
property of the AnimationGraph
class represents the file name of the animation graph. This property is used to identify the specific animation graph file associated with an instance of AnimationGraph
.
The Name
property of the AnimationGraph
class represents the file name of the animation graph. This property is used to identify the specific animation graph file associated with an instance of AnimationGraph
.
To access the Name
property, you need to have an instance of the AnimationGraph
class. This property is read-only and provides the name of the animation graph file.
// Example of accessing the Name property of an AnimationGraph instance AnimationGraph animGraph = AnimationGraph.Load("path/to/animation.graph"); if (animGraph.IsValid) { string graphName = animGraph.Name; // Use the graphName as needed }