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