using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; namespace MuHua { /// /// 开关 /// public class UIToggle : ModuleUIPanel { /// 值改变时 public event Action ValueChanged; public bool value;// 当前值 /// 标题 public string title { get => Title.text; set => Title.text = value; } public Label Title => Q