Class ToggleImage
Events
onChanged
public event Action onChanged;
Properties
on
public bool on { get; set; }
allowClickSwitch
public bool allowClickSwitch { get; set; }
onSprite
public Sprite onSprite { get; set; }
offSprite
public Sprite offSprite { get; set; }
Methods
UpdateSprite()
public void UpdateSprite()
SetValueWithoutNotify(bool on)
public void SetValueWithoutNotify(bool on)