Tri-Inspector/Runtime/Attributes/DeclareBoxGroupAttribute.cs

18 lines
478 B
C#

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)]
[Conditional("UNITY_EDITOR")]
public class DeclareBoxGroupAttribute : DeclareGroupBaseAttribute
{
public DeclareBoxGroupAttribute(string path) : base(path)
{
Title = path;
}
public string Title { get; set; }
public bool HideTitle { get; set; }
}
}