Version: Unity 7.0 Alpha (7000.0)
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
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961