public void OnSelected(ISelectAble selected, ISelectAble unSelect, bool bNext) { selected.SetSelect(true); Sound.PlayUiAudioOneShot(1001); if (_parentUIType != null) { SelectStatus[_parentUIType] = CurrSelectIdx; } OnSelectChange?.Invoke(selected, unSelect, bNext); }
public void OnUnSelected(ISelectAble btn) { btn.SetSelect(false); }