Example #1
0
 public void OnExitClick()
 {
     LibPlacenote.Instance.StopSession();
     FeaturesVisualizer.clearPointcloud();
     initialized       = false;
     haveMapName       = false;
     mapping           = false;
     localizeFirstTime = false;
     mInitButtonPanel.SetActive(true);
     mExitButton.SetActive(false);
     mExtendedPanel.SetActive(false);
     mActivateDesButton.SetActive(false);
     mMappingButtonPanel.SetActive(false);
     DropdownList.gameObject.SetActive(false);
     scanPopup.SetActive(false);
     selectDesPopUp.SetActive(false);
     waitPopUp.SetActive(false);
     destination = null;
     destinationList.Clear();
     DropdownList.value = 0;
     DropdownList.options.Clear();
     DropdownList.RefreshShownValue();
     shapeManager.ClearShapes();
     navController.ReSetParameter();
     infoManager.Close();
     StopAllCoroutines();
     StartCoroutine(UIcheck());
 }