using System; using System.Diagnostics; namespace TriInspector { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)] [Conditional("UNITY_EDITOR")] public sealed class TitleAttribute : Attribute { public string Title { get; } public TitleAttribute(string title) { Title = title; } } }