You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
797 B
26 lines
797 B
using System; |
|
|
|
namespace UnityEditor.Timeline.Actions |
|
{ |
|
/// <summary> |
|
/// Define the activeness of an action depending on its timeline mode. |
|
/// </summary> |
|
/// <seealso cref="TimelineModes"/> |
|
[AttributeUsage(AttributeTargets.Class)] |
|
public class ActiveInModeAttribute : Attribute |
|
{ |
|
/// <summary> |
|
/// Modes that will be used for activeness of an action. |
|
/// </summary> |
|
public TimelineModes modes { get; } |
|
|
|
/// <summary> |
|
/// Defines in which mode the action will be active. |
|
/// </summary> |
|
/// <param name="timelineModes">Modes that will define activeness of the action.</param> |
|
public ActiveInModeAttribute(TimelineModes timelineModes) |
|
{ |
|
modes = timelineModes; |
|
} |
|
} |
|
}
|
|
|