Version: Unity 6.7 Alpha (6000.7)
Language : English
Playable Director component
PlayableGraph Visualizer

Playables API examples

The Playables API examples include sample scripts that demonstrate how to perform basic animation tasks such as playing, mixing, and controlling animation clips or other playables. The Playables API examples include the following topics:

Topic Description
PlayableGraph Visualizer The Playable API examples use the PlayableGraph Visualizer package to visualize the result of most scripts. This topic demonstrates how to download and install the PlayableGraph Visualizer package. Note: The PlayableGraph Visualizer is a discontinued experimental package that might not work with your version of Unity.
Play an animation clip Learn how to create a PlayableGraph that plays a single animation clip.
Blend two animation clips Learn how to use a AnimationMixerPlayable to blend two animation clips.
Blend an animation clip with a controller Learn how to use a AnimatorMixerPlayable to blend an animation clip with an Animator Controller.
Control the play state Learn about the Pause() and Play() methods and how to control the play state of a PlayableGraph.
Control the timing of a playable clip Learn about the SetTime() method and how to manually set the start of a paused playable.
Create a PlayableGraph with different outputs Learn how to create a PlayableGraph with two different playable output types.
Create a custom playable Learn about the PlayableBehaviour public class to create a custom Playable. This example also demonstrate how to override the PrepareFrame() virtual method.

Additional resources

Playable Director component
PlayableGraph Visualizer