Version: 2022.3
public static Animations.AnimationLayerMixerPlayable PlayLayerMixer (Animator animator, int inputCount, out Playables.PlayableGraph graph);

参数

animator 目标动画器。
inputCount AnimationLayerMixerPlayable 的输入计数。定义层的数量。
graph 创建的 PlayableGraph

返回

AnimationLayerMixerPlayable 新建 AnimationLayerMixerPlayable 的句柄。

描述

创建要在给定动画器上播放的 PlayableGraph。此外,还创建一个 AnimationLayerMixerPlayable