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.PlayMixer

public static Animations.AnimationMixerPlayable PlayMixer(Animator animator, int inputCount, out Playables.PlayableGraph graph);

Parameters

animatorTarget Animator.
inputCountThe input count for the AnimationMixerPlayable.
graphThe created PlayableGraph.

Returns

AnimationMixerPlayable A handle to the newly-created AnimationMixerPlayable.

Description

Creates a PlayableGraph to be played on the given Animator. An AnimationMixerPlayable is also created.