mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-23 00:38:21 -05:00
27 lines
709 B
C#
27 lines
709 B
C#
|
using System;
|
|||
|
using System.Diagnostics;
|
|||
|
using JetBrains.Annotations;
|
|||
|
|
|||
|
namespace TriInspector
|
|||
|
{
|
|||
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
|||
|
[Conditional("UNITY_EDITOR")]
|
|||
|
public class GroupNextAttribute : Attribute
|
|||
|
{
|
|||
|
public GroupNextAttribute(string path)
|
|||
|
{
|
|||
|
Path = path;
|
|||
|
}
|
|||
|
|
|||
|
[CanBeNull] public string Path { get; }
|
|||
|
}
|
|||
|
|
|||
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
|||
|
[Conditional("UNITY_EDITOR")]
|
|||
|
public class UnGroupNextAttribute : GroupNextAttribute
|
|||
|
{
|
|||
|
public UnGroupNextAttribute() : base(null)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|