Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue