Create(PlayableGraph, string, Animator)
Creates an AnimationPlayableOutput in the PlayableGraph.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public static AnimationPlayableOutput Create(PlayableGraph graph, string name, Animator target)
Parameters
The PlayableGraph that will contain the AnimationPlayableOutput.
The name of the output.
The Animator that will process the PlayableGraph.
Returns
Type | Description |
|---|---|
| AnimationPlayableOutput | A new AnimationPlayableOutput attached to the PlayableGraph. |
Remarks
The Animator plays the source Playable of the AnimationPlayableOutput. This source Playable can be set with SetSourcePlayable.