using System; using System.Reflection; using Unity.VisualScripting; namespace Assets.Scripts.Attributes { /// /// This attribute is used to represent a string value /// for a value in an enum. /// public class StringValueAttribute : Attribute { #region Properties /// /// Holds the stringvalue for a value in an enum. /// public string StringValue { get; protected set; } #endregion #region Constructor /// /// Constructor used to init a StringValue Attribute /// /// public StringValueAttribute(string value) { this.StringValue = value; } #endregion } }