public void ShowContent(bool justItemState = false) { switch (_CurrentState) { case 0: { _AboutLinkButton.gameObject.SetActive(false); _Function2Button.gameObject.SetActive(false); if (_BrowserController.IsDashboardReadyForGatheringStats()) { _Function1Button.gameObject.SetActive(true); } else { _Function1Button.gameObject.SetActive(false); } if (!justItemState) { _Container.sprite = State0; } _BrowserController.DisableExampleTabRefresh(); break; } case 1: { switch (_Button1ClickCount) { case 0: { _AboutLinkButton.gameObject.SetActive(false); _Function2Button.gameObject.SetActive(true); _Function1Button.gameObject.SetActive(false); _BrowserController.SetDashboardCurrentScreen(17); _CurrentState = 2; break; } case 1: { _AboutLinkButton.gameObject.SetActive(false); _Function2Button.gameObject.SetActive(false); _Function1Button.gameObject.SetActive(true); _BrowserController.SetDashboardCurrentScreen(20); _CurrentState = 1; break; } case 2: { _AboutLinkButton.gameObject.SetActive(true); _Function2Button.gameObject.SetActive(false); _Function1Button.gameObject.SetActive(false); _BrowserController.SetDashboardCurrentScreen(21); _CurrentState = 1; break; } } if (!justItemState) { _Container.sprite = State1; } break; } case 2: { switch (_Button2ClickCount) { case 0: { _AboutLinkButton.gameObject.SetActive(false); _Function2Button.gameObject.SetActive(true); _Function1Button.gameObject.SetActive(false); _BrowserController.SetDashboardCurrentScreen(18); _CurrentState = 2; break; } case 1: { _AboutLinkButton.gameObject.SetActive(false); _Function2Button.gameObject.SetActive(false); _Function1Button.gameObject.SetActive(true); _BrowserController.SetDashboardCurrentScreen(19); _CurrentState = 1; break; } } if (!justItemState) { _Container.sprite = State2; } break; } case 3: { if (!justItemState) { _Container.sprite = State3; } _BrowserController.SetDashboardCurrentScreen(22); break; } } }