Version: 2017.3
public bool DeleteTrack (Timeline.TrackAsset track);

Parameters

track The track to delete. It must be owned by the Timeline.

Returns

bool True if the track was deleted successfully.

Description

Deletes a track from a timeline, including all clips and subtracks.