mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 16:28:23 -05:00
18 lines
502 B
C#
18 lines
502 B
C#
|
using System;
|
|||
|
using System.Diagnostics;
|
|||
|
|
|||
|
namespace TriInspector
|
|||
|
{
|
|||
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)]
|
|||
|
[Conditional("UNITY_EDITOR")]
|
|||
|
public class DeclareToggleGroupAttribute : DeclareGroupBaseAttribute
|
|||
|
{
|
|||
|
public DeclareToggleGroupAttribute(string path) : base(path)
|
|||
|
{
|
|||
|
Title = path;
|
|||
|
}
|
|||
|
|
|||
|
public string Title { get; set; }
|
|||
|
public bool Collapsible { get; set; } = true;
|
|||
|
}
|
|||
|
}
|