Tri-Inspector/Runtime/Attributes/IndentAttribute.cs
2022-01-05 14:59:05 +03:00

17 lines
373 B
C#

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
[Conditional("UNITY_EDITOR")]
public sealed class IndentAttribute : Attribute
{
public int Indent { get; }
public IndentAttribute(int indent = 1)
{
Indent = indent;
}
}
}