public void OnTabSelected(InventoryTypeTabFiller button)
        {
            if (selectedTab != null)
            {
                selectedTab.Deselect();
            }

            selectedTab = button;
            selectedTab.Select();

            ResetTabs();
            // Buttons are sending the events.
            // int index = button.transform.GetSiblingIndex();
            // for (int i = 0; i < tabAreas.Count; i++)
            //  tabAreas[i].SetActive(i == index);
        }
 public void OnTabExit(InventoryTypeTabFiller button)
 {
     ResetTabs();
 }
 public void Subscribe(InventoryTypeTabFiller button)
 {
     tabButtons.Add(button);
 }