Files
BABA_YAGA/Assets/Scripts/Player/Generic/Attributes/vEditorToolbarAttribute.cs

21 lines
706 B
C#
Raw Normal View History

2026-05-30 09:16:35 +07:00
using UnityEngine;
namespace Invector
{
public class vEditorToolbarAttribute : PropertyAttribute
{
public readonly string title;
public readonly string icon;
public readonly bool useIcon;
public readonly bool overrideChildOrder;
public readonly bool overrideIcon;
public vEditorToolbarAttribute(string title, bool useIcon = false, string iconName = "", bool overrideIcon = false, bool overrideChildOrder = false)
{
this.title = title;
this.icon = iconName;
this.useIcon = useIcon;
this.overrideChildOrder = overrideChildOrder;
this.overrideIcon = overrideIcon;
}
}
}