Tri-Inspector/Runtime/Attributes/InlinePropertyAttribute.cs

13 lines
366 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.Class | AttributeTargets.Struct)]
[Conditional("UNITY_EDITOR")]
public sealed class InlinePropertyAttribute : Attribute
{
public float LabelWidth { get; set; }
}
}