Tri-Inspector/Runtime/Attributes/GroupAttribute.cs

17 lines
384 B
C#
Raw Normal View History

2021-12-07 10:20:36 -05:00
using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
[Conditional("UNITY_EDITOR")]
public class GroupAttribute : Attribute
{
public GroupAttribute(string path)
{
Path = path;
}
public string Path { get; }
}
}