예제 #1
0
    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);
    }
예제 #2
0
 public void OnUnSelected(ISelectAble btn)
 {
     btn.SetSelect(false);
 }