Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TimelineAsset.DeleteTrack

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.

Did you find this page useful? Please give it a rating: