Update
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user