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] [ExcludeFromPreset] public class MarkerTrack : TrackAsset { /// public override IEnumerable outputs { get { return this == timelineAsset.markerTrack ? new List {ScriptPlayableBinding.Create(name, null, typeof(GameObject))} : base.outputs; } } } }