Tri-Inspector/Runtime/Attributes/ListDrawerSettings.cs

15 lines
437 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")]
2022-05-30 06:15:09 -04:00
public class ListDrawerSettings : Attribute
2022-01-21 10:46:53 -05:00
{
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
}
}