Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PlayLayerMixer(Animator, int, out PlayableGraph)

Creates a PlayableGraph to be played on the given Animator. An AnimationLayerMixerPlayable is also created.
Read time 1 minuteLast updated 10 days ago

Definition

PlayLayerMixer(Animator, int, PlayableGraph)

public static AnimationLayerMixerPlayable PlayLayerMixer(Animator animator, int inputCount, out PlayableGraph graph)

Parameters

animator

Target Animator.

inputCount

The input count for the AnimationLayerMixerPlayable. Defines the number of layers.

The created PlayableGraph.

Returns

Type

Description

AnimationLayerMixerPlayableA handle to the newly-created AnimationLayerMixerPlayable.