using UnityEngine; using System; namespace UnityEditor.Experimental.VFX.Toolbox.ImageSequencer { /// /// Attribute for Class derived from ProcessorBase. /// Determines the ImageSequencer menu name and category for the processor when adding new processors to the asset. /// [AttributeUsage(AttributeTargets.Class)] public class ProcessorAttribute : Attribute { /// /// Menu Category where the Processor will be stored into /// public readonly string category; /// /// Processor name used to display in the menu /// public readonly string name; /// /// Defines a Processor Entry in the ImageSequencer add Processor Menu. /// /// Menu Category where the Processor will be stored into /// Processor name used to display in the menu public ProcessorAttribute(string category, string name) { this.category = category; this.name = name; } } }