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

Parameters

trackThe 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.