Tri-Inspector/Runtime/Attributes/TabAttribute.cs

17 lines
384 B
C#
Raw Normal View History

2022-01-21 06:21:57 -05:00
using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
[Conditional("UNITY_EDITOR")]
public class TabAttribute : Attribute
{
public TabAttribute(string tab)
{
TabName = tab;
}
public string TabName { get; }
}
}