Toggle Left Attribute特性:用于在一个bool成员变量的label之前绘制一个toggle
using Sirenix.OdinInspector;
using UnityEngine;
public class ToggleLeftAttributeExample : MonoBehaviour
{
[ToggleLeft]
public bool LeftToggled;
public bool normalBool;
}
Toggle Left Attribute特性:用于在一个bool成员变量的label之前绘制一个toggle
using Sirenix.OdinInspector;
using UnityEngine;
public class ToggleLeftAttributeExample : MonoBehaviour
{
[ToggleLeft]
public bool LeftToggled;
public bool normalBool;
}