Version: 2018.2
public static Timeline.GroupTrack GetGroup (Timeline.TrackAsset asset);

Parameters

assetThe track asset.

Returns

GroupTrack The parent GroupTrack or null if the Track is an override track, or root track.

Description

Gets the GroupTrack this track belongs to.