Esempio n. 1
0
 public void resetUI()
 {
     annotationInput.gameObject.SetActive(false);
     createAnnotationButton.gameObject.SetActive(false);
     toggleARButton.gameObject.SetActive(false);
     searchInput.gameObject.SetActive(false);
     exploreScrollView.gameObject.SetActive(false);
     exploreHeadingText.gameObject.SetActive(false);
     exploreInstructionsText.gameObject.SetActive(false);
     YourPlacesObject.gameObject.SetActive(false);
     settingsPanel.gameObject.SetActive(false);
     errorText.gameObject.SetActive(false);
     hikeButton.gameObject.SetActive(false);
     exitSelectionButton.gameObject.SetActive(false);
     recenterButton.gameObject.SetActive(false);
     cameraHandler.turnOffCams();
     if (isHiking)
     {
         transitionHikePanel.TriggerFadeOut();
     }
     if (menuHandler.isErrorOpen && errorText.text != "Unable to detect GPS location. Please reload HikAR.")
     {
         menuHandler.CloseError();
     }
     if (menuHandler.isOpen)
     {
         menuHandler.CloseMenu();
     }
 }