winS.UnityEditor.UIElementSwitchableButton本页总览Class SwitchableButton Events onClick public Action<bool> onClick onStateChanged public Action<bool> onStateChanged Properties on public bool on { get; set; } onColor public Color onColor { get; set; } offColor public Color offColor { get; set; } label public Label label { get; }