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

public int rootTrackCount;

Description

Returns the number of tracks at the root level of the timeline.

A root track refers to all tracks that occur at the root of the timeline. These are the outmost level GroupTracks, and output tracks that do not belong to any group.

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