PlayLayerMixer(Animator, int, out PlayableGraph)
Creates a PlayableGraph to be played on the given Animator. An AnimationLayerMixerPlayable is also created.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.AnimationModule
PlayLayerMixer(Animator, int, PlayableGraph)
public static AnimationLayerMixerPlayable PlayLayerMixer(Animator animator, int inputCount, out PlayableGraph graph)
Parameters
Target Animator.
The input count for the AnimationLayerMixerPlayable. Defines the number of layers.
The created PlayableGraph.
Returns
Type | Description |
|---|---|
| AnimationLayerMixerPlayable | A handle to the newly-created AnimationLayerMixerPlayable. |