Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine.Playables;
|
||||
|
||||
namespace UnityEngine.Timeline
|
||||
{
|
||||
/// <summary>
|
||||
/// Use this track to add Markers bound to a GameObject.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[TrackBindingType(typeof(GameObject))]
|
||||
[HideInMenu]
|
||||
[ExcludeFromPreset]
|
||||
[TimelineHelpURL(typeof(MarkerTrack))]
|
||||
public class MarkerTrack : TrackAsset
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public override IEnumerable<PlayableBinding> outputs
|
||||
{
|
||||
get
|
||||
{
|
||||
return this == timelineAsset.markerTrack ?
|
||||
new List<PlayableBinding> {ScriptPlayableBinding.Create(name, null, typeof(GameObject))} :
|
||||
base.outputs;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue