Class SwitchableButton
A button with an on/off state.
Events
onClick
public event Action onClick;
onStateChanged
public event Action 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; }