Files
BABA_YAGA/Assets/Invector-3rdPersonController/Basic Locomotion/Scripts/Generic/Attributes/vToggleOptionAttribute.cs
2026-05-30 09:16:35 +07:00

15 lines
435 B
C#

using System;
using UnityEngine;
[AttributeUsage(AttributeTargets.Field, AllowMultiple = true, Inherited = true)]
public class vToggleOptionAttribute : PropertyAttribute
{
public string label, falseValue, trueValue;
public vToggleOptionAttribute(string label = "", string falseValue = "No", string trueValue = "Yes")
{
this.label = label;
this.falseValue = falseValue;
this.trueValue = trueValue;
}
}