using System; using System.Collections.Generic; using UnityEngine.Playables; namespace UnityEngine.Timeline { /// /// /// Use this track to add Markers bound to a GameObject. /// [Serializable] [TrackBindingType(typeof(GameObject))] [HideInMenu] public class MarkerTrack : TrackAsset { /// public override IEnumerable outputs { get { return this == timelineAsset.markerTrack ? new List {ScriptPlayableBinding.Create(name, null, typeof(GameObject))} : base.outputs; } } } }