ActiveInModeAttribute.cs 329 B

1234567891011121314
  1. using System;
  2. namespace UnityEditor.Timeline
  3. {
  4. [AttributeUsage(AttributeTargets.Class)]
  5. class ActiveInModeAttribute : Attribute
  6. {
  7. public TimelineModes modes { get; private set; }
  8. public ActiveInModeAttribute(TimelineModes timelineModes)
  9. {
  10. modes = timelineModes;
  11. }
  12. }
  13. }