Tri-Inspector/Runtime/Attributes/ListDrawerSettings.cs

14 lines
395 B
C#
Raw Normal View History

2022-01-21 10:46:53 -05:00
using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
[Conditional("UNITY_EDITOR")]
public sealed class ListDrawerSettings : Attribute
{
public bool Draggable { get; set; } = true;
public bool HideAddButton { get; set; }
public bool HideRemoveButton { get; set; }
}
}