mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 16:28:23 -05:00
17 lines
397 B
C#
17 lines
397 B
C#
|
using System;
|
|||
|
using System.Diagnostics;
|
|||
|
|
|||
|
namespace TriInspector
|
|||
|
{
|
|||
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
|||
|
[Conditional("UNITY_EDITOR")]
|
|||
|
public sealed class PropertyTooltipAttribute : Attribute
|
|||
|
{
|
|||
|
public string Tooltip { get; }
|
|||
|
|
|||
|
public PropertyTooltipAttribute(string tooltip)
|
|||
|
{
|
|||
|
Tooltip = tooltip;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|