using System; using UnityEngine; namespace GraphicsCat { public enum LabelStyle { Normal, Bold, Italic, BoldItalic } [AttributeUsage(AttributeTargets.Field)] public class LabelAttribute : PropertyAttribute { public string Text { get; } public LabelStyle Style { get; } public LabelAttribute(string text, LabelStyle style = LabelStyle.Normal) { Text = text; Style = style; } } }