Use the Playables API to dynamically blend animation, create gameplay mechanism, or other complex behaviors by organizing and evaluating data sources in a PlayableGraph
.
The Playables API refers to a set of classes, structs, and methods that you use to create the PlayableGraph, its nodes, and outputs. Playables and the Playables API complement the Mecanim animation system.
The Scripting Reference on Playables contains the list of classes, structs, and methods that you use to interact with animation, audio, and scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary. You can also create custom playables and script playables.
Use the Playables API to do the following:
The following topics provide details and examples on how to use the Playables API:
Topic | Description |
---|---|
PlayableGraph, nodes, and output | Describes the PlayableGraph and its main parts including the graph itself, its playable nodes, and playable outputs. |
ScriptPlayable and PlayableBehaviour | Describes the ScriptPlayable<> object and the PlayableBehaviour custom behavior and how to use them together to create custom playables. |
Playables API examples | Provides example scripts that demonstrate how to use the Playables API. |