文档

Unity Engine

Unity Engine

PlayClip(Animator, AnimationClip, out PlayableGraph)

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

Definition

PlayClip(Animator, AnimationClip, PlayableGraph)

public static AnimationClipPlayable PlayClip(Animator animator, AnimationClip clip, out PlayableGraph graph)

Parameters

animator

Target Animator.

The AnimationClip to create an AnimationClipPlayable for.

The created PlayableGraph.

Returns

Type

Description

AnimationClipPlayableA handle to the newly-created AnimationClipPlayable.