Version: 2017.3
public Timeline.TimelineClip CreateClip (AnimationClip clip);

Parameters

clip Source animation clip of the resulting TimelineClip.

Returns

TimelineClip A new TimelineClip which has an AnimationPlayableAsset asset attached.

Description

Creates a TimelineClip using an AnimationClip.