using System; namespace UnityEngine.Rendering.PostProcessing { /// /// Use this attribute to change the label of a field displayed in the inspector. /// [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] public sealed class DisplayNameAttribute : Attribute { /// /// The label displayed in the inspector. /// public readonly string displayName; /// /// Creates a new attribute. /// /// The label to display in the inspector public DisplayNameAttribute(string displayName) { this.displayName = displayName; } } }