跳到主要内容

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; }