#if UNITY_EDITOR
using System.ComponentModel;
#endif
using UnityEngine.Playables;
namespace UnityEngine.Timeline
{
///
/// Playable Asset class for Activation Tracks
///
#if UNITY_EDITOR
[DisplayName("Activation Clip")]
#endif
class ActivationPlayableAsset : PlayableAsset, ITimelineClipAsset
{
///
/// Returns a description of the features supported by activation clips
///
public ClipCaps clipCaps { get { return ClipCaps.None; } }
///
/// Overrides PlayableAsset.CreatePlayable() to inject needed Playables for an activation asset
///
public override Playable CreatePlayable(PlayableGraph graph, GameObject go)
{
return Playable.Create(graph);
}
}
}