Tri-Inspector/Runtime/Attributes/ListDrawerSettings.cs
2022-12-10 11:01:57 +04:00

15 lines
446 B
C#

using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
[Conditional("UNITY_EDITOR")]
public class ListDrawerSettingsAttribute : Attribute
{
public bool Draggable { get; set; } = true;
public bool HideAddButton { get; set; }
public bool HideRemoveButton { get; set; }
public bool AlwaysExpanded { get; set; }
}
}