protected void Start() { MenuScreen.s_ButtonsAlpha = this.m_StartStory.GetComponentInChildren <Button>().colors.normalColor.a; MenuScreen.s_ButtonsHighlightedAlpha = this.m_StartStory.GetComponentInChildren <Button>().colors.highlightedColor.a; MenuScreen.s_InactiveButtonsAlpha = MenuScreen.s_ButtonsAlpha * 0.5f; MainMenu.s_ButtonTextStartX = this.m_Options.GetComponentInChildren <Text>().rectTransform.position.x; MainMenu.s_SelectedButtonX = MainMenu.s_ButtonShiftX + MainMenu.s_ButtonTextStartX; MainMenu.s_ButtonTextStartXLocal = MainMenu.s_ButtonTextStartX / (float)Screen.width; MainMenu.s_SelectedButtonXLocal = MainMenu.s_SelectedButtonX / (float)Screen.width; CursorManager.Get().ResetCursorRequests(); CursorManager.Get().SetCursor(CursorManager.TYPE.Normal); this.m_StartTime = Time.time; this.m_WasButtonsActive = false; this.m_GameVersion.text = GreenHellGame.s_GameVersion.ToString() + " (build " + GreenHellGame.GetBuildVersion() + ")"; this.StoreMenuResolution(); GreenHellGame.Instance.m_BlockControllerUpdate = true; }