Tri-Inspector/Runtime/Attributes/LabelTextAttribute.cs
2023-03-12 11:38:39 +04:00

17 lines
366 B
C#

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
[Conditional("UNITY_EDITOR")]
public class LabelTextAttribute : Attribute
{
public string Text { get; }
public LabelTextAttribute(string text)
{
Text = text;
}
}
}