public override void OnGotFocus() { paintMenu = MenuSystem.instance.GetMenu <CustomizationPaintMenu>(); base.OnGotFocus(); MenuButton component = lastFocusedElement.GetComponent <MenuButton>(); if (component != null) { component.OnSelect(null); } MenuCameraEffects.FadeInWebcamMenu(); prepareUI.SetActive(value: true); desiredCameraIndex = PlayerPrefs.GetInt("WebCamIdx", 0); desiredCameraName = PlayerPrefs.GetString("WebCamName", null); mirror = PlayerPrefs.GetInt("WebCamMirror", 1); if (mirror == 0) { mirror = 1; } StartWebCam(); }