using System;
namespace UnityEditor.Timeline.Actions
{
///
/// Define the activeness of an action depending on its timeline mode.
///
///
[AttributeUsage(AttributeTargets.Class)]
public class ActiveInModeAttribute : Attribute
{
///
/// Modes that will be used for activeness of an action.
///
public TimelineModes modes { get; }
///
/// Defines in which mode the action will be active.
///
/// Modes that will define activeness of the action.
public ActiveInModeAttribute(TimelineModes timelineModes)
{
modes = timelineModes;
}
}
}