private void __click()
{
if (sound != null)
Stage.inst.PlayOneShotSound(sound, soundVolumeScale);
if (!changeStateOnClick)
return;
if (_mode == ButtonMode.Check)
{
this.selected = !_selected;
onChanged.Call();
}
else if (_mode == ButtonMode.Radio)
{
if (!_selected)
{
this.selected = true;
onChanged.Call();
}
}
}