Access this scene object's direct playback. Direct playback is used to control the direct playback node in an animgraph to play sequences directly in code.
Access this scene object's direct playback. Direct playback is used to control the direct playback node in an animgraph to play sequences directly in code.
To use the DirectPlayback
property, you need to have an instance of SceneModel
. This property allows you to manipulate the direct playback node of an animation graph, enabling you to play animation sequences directly through code.
// Assuming 'sceneModel' is an instance of SceneModel var directPlayback = sceneModel.DirectPlayback; // Use directPlayback to control animations directly // Example: directPlayback.PlaySequence("Run");