Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

TrackAsset.locked

public bool locked;

Description

The local locked state of the track.

Note that locking a track only affects operations in the Timeline Editor. It does not prevent other API calls from changing a track or it's clips.

This returns or sets the local locked state of the track. A track may still be locked for editing because one or more of it's parent tracks in the hierarchy is locked. Use lockedInHierarchy to test if a track is locked because of it's own locked state or because of a parent tracks locked state.

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