public void MapList() { if (uiState == UIState.MapList) { uiState = UIState.Default; OnSelectorClosed?.Invoke(); } else { uiState = UIState.MapList; OnSelectorOpened?.Invoke(); } ChangeState(uiState); }
public void SlotSelect() { if (uiState == UIState.SlotSelect) { uiState = UIState.Default; OnSelectorClosed?.Invoke(); } else { uiState = UIState.SlotSelect; OnSelectorOpened?.Invoke(); } ChangeState(uiState); }