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

Parameters

clipSource animation clip of the resulting TimelineClip.

Returns

TimelineClip A new TimelineClip which has an AnimationPlayableAsset asset attached.

Description

Creates a TimelineClip using an AnimationClip.