Method SetCollapsed
SetCollapsed(TrackAsset, bool)
Sets whether the children of the Track are currently visible in the Timeline Editor.
Declaration
public static void SetCollapsed(this TrackAsset track, bool collapsed)
Parameters
| Type | Name | Description |
|---|---|---|
| TrackAsset | track | The track asset to collapsed state to modify. |
| bool | collapsed |
Remarks
The track collapsed state is not serialized inside the asset and is lost from one checkout of the project to another.