AnimationPlayableUtilities.PlayClip
public static Animations.AnimationClipPlayable PlayClip(Animator animator,
AnimationClip clip,
out Playables.PlayableGraph graph);
Parameters
| animator | Target Animator. | |
| clip | The AnimationClip to create an AnimationClipPlayable for. | |
| graph | The created PlayableGraph. |
Returns
AnimationClipPlayable A handle to the newly-created AnimationClipPlayable.
Description 描述
Creates a PlayableGraph to be played on the given Animator. An AnimationClipPlayable is also created for the given AnimationClip.