A game about forced loneliness, made by TACStudios
at master 26 lines 797 B view raw
1using System; 2 3namespace UnityEditor.Timeline.Actions 4{ 5 /// <summary> 6 /// Define the activeness of an action depending on its timeline mode. 7 /// </summary> 8 /// <seealso cref="TimelineModes"/> 9 [AttributeUsage(AttributeTargets.Class)] 10 public class ActiveInModeAttribute : Attribute 11 { 12 /// <summary> 13 /// Modes that will be used for activeness of an action. 14 /// </summary> 15 public TimelineModes modes { get; } 16 17 /// <summary> 18 /// Defines in which mode the action will be active. 19 /// </summary> 20 /// <param name="timelineModes">Modes that will define activeness of the action.</param> 21 public ActiveInModeAttribute(TimelineModes timelineModes) 22 { 23 modes = timelineModes; 24 } 25 } 26}