Tri-Inspector/Runtime/Attributes/ListDrawerSettings.cs

15 lines
444 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; }
public bool AlwaysExpanded { get; set; }
2022-01-21 10:46:53 -05:00
}
}