public void SelectTab(SpaceportTabObject tab)
    {
        ResetAllPanels();

        _tabs[(int)tab.tabType].tabState = TabState.Active;
        _images[(int)tab.tabType].sprite = _sprites[(int)TabState.Active * 3 + (int)ButtonState.Highlight];
        _texts[(int)tab.tabType].color   = _colors[(int)TabState.Active * 3];

        if (tab.tabType == SpaceportTabType.Contracts)
        {
            SpaceportContractsController.instance.Show();
        }
    }
 public void SetButtonState(SpaceportTabObject tab, ButtonState buttonState)
 {
     // Debug.Log($"tabType: {tab.tabType}({(int)tab.tabType}) - tab.tabState: {tab.tabState}({((tab.tabState == TabState.Active) ? 3 : 0)}) * buttonState: {buttonState}({(int)buttonState}) = {((tab.tabState == TabState.Active) ? 3 : 0) + (int)buttonState}");
     _images[(int)tab.tabType].sprite = _sprites[((tab.tabState == TabState.Active) ? 3 : 0) + (int)buttonState];
     _texts[(int)tab.tabType].color   = _colors[(int)buttonState];
 }