LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AnimationPlayableUtilities

class in UnityEngine.Playables

Description

Implements high-level utility methods to simplify use of the Playable API with Animations.

Static Methods

PlayPlays the Playable on the given Animator.
PlayAnimatorControllerCreates a PlayableGraph to be played on the given Animator. An AnimatorControllerPlayable is also created for the given RuntimeAnimatorController.
PlayClipCreates a PlayableGraph to be played on the given Animator. An AnimationClipPlayable is also created for the given AnimationClip.
PlayLayerMixerCreates a PlayableGraph to be played on the given Animator. An AnimationLayerMixerPlayable is also created.
PlayMixerCreates a PlayableGraph to be played on the given Animator. An AnimationMixerPlayable is also created.