Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 10 days ago

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.