Method OnCreate
OnCreate(TimelineClip, TrackAsset, TimelineClip)
Called when a clip is created.
Declaration
public virtual void OnCreate(TimelineClip clip, TrackAsset track, TimelineClip clonedFrom)
Parameters
| Type | Name | Description |
|---|---|---|
| TimelineClip | clip | The newly created clip. |
| TrackAsset | track | The track that the clip is assigned to. |
| TimelineClip | clonedFrom | The source that the clip was copied from. This can be set to null if the clip is not a copy. |
Remarks
The callback occurs before the clip is assigned to the track.