private void HandleTabButtonClicked(AbstractDebugMenuTabPage page) { foreach (var otherPage in pages) { otherPage.gameObject.SetActive(otherPage == page); if (otherPage.TabButton != null) { otherPage.TabButton.interactable = otherPage != page; } } }
private void HandleTabClosed(AbstractDebugMenuTabPage page) { page.gameObject.SetActive(false); EnableAllTabs(); }