using UnityEngine; namespace Nullframes.Intrigues { /// /// Custom attribute class used for creating Inspector notes /// public class NoteAttribute : PropertyAttribute { /// /// The text contained in the note. /// public readonly string Description; /// /// The line height for the localized string translation. A value of 0 indicates auto-sizing. /// public readonly uint LineHeight; /// /// Initializes a new instance of the class with the specified description and (auto-sizing) line height. /// /// The text description for the note. public NoteAttribute(string description) { Description = description; } /// /// Initializes a new instance of the class with the specified description and line height. /// /// The line height for the note, A value of 0 indicates auto-sizing. /// The text description for the note. public NoteAttribute(uint lineHeight, string description) { Description = description; LineHeight = lineHeight; } } }