Method DeleteTrack
DeleteTrack(TrackAsset)
Deletes a track from a timeline, including all clips and subtracks.
Declaration
public bool DeleteTrack(TrackAsset track)
Parameters
Type | Name | Description |
---|---|---|
TrackAsset | track | The track to delete. It must be owned by this Timeline. |
Returns
Type | Description |
---|---|
bool | True if the track was deleted successfully. |