文档

Unity Engine

Unity Engine

PlayLayerMixer(Animator, int, out PlayableGraph)

Creates a PlayableGraph to be played on the given Animator. An AnimationLayerMixerPlayable is also created.
阅读时间1 分钟最后更新于 1 个月前

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.