private void HandleCancelJourney(object sender, BackOneEventArgs e) { view.MenuVisibility(false); IResultPanelView resultPanelView = GetComponent <ResultPanelController>().GETResultPanelView(); resultPanelView.setAllResultMenuVisibility(true); }
private void HandleJourneyStart(object sender, BackOneEventArgs e) { IMapModel iMapModel = transform.GetComponent <MapController>().GETMapModel(); IMapView iMapView = transform.GetComponent <MapController>().GETMapView(); iMapView.setGameObjectVisibility(false); iMapModel.GETPoiCoordinatesObjectsList(); view.SpatialExploration(); }
private void HandleBack(object sender, BackOneEventArgs e) { IMainMenuModel mainMenuModel = transform.GetComponent <MainMenuController>().GETMainMenuModel(); model.ChangeVisibility(false); mainMenuModel.ChangeVisibility(true); IMapModel mapModel = transform.GetComponent <MapController>().GETMapModel(); mapModel.ChangeVisibility(false); IQueryMenuController IqueryMenuController = transform.GetComponent <QueryMenuController>(); Vector3 pos = IqueryMenuController.getview().getInitQueryMenuPosition(); IqueryMenuController.getview().setQueryMenuRadialPosition(pos, true); }
private void OnJStartLogic() { slider.SetActive(false); POIQuery.SetActive(false); cancelButton.SetActive(true); journeyButton.SetActive(false); miniMap.SetActive(true); CurrentPositionInit(); var eventArgs = new BackOneEventArgs(); OnJourney(this, eventArgs); }
public void stopSpatialExploration() { this.journeyStart = false; miniMap.SetActive(false); flushPOIList(); var EventArgs = new BackOneEventArgs(); OnCancelJourney(this, EventArgs); foreach (var act in ActiveList) { foreach (Transform activeobject in transform.parent) { if (activeobject.gameObject == act) { Destroy(activeobject.gameObject); break; } } } }
private void OnBackButtonLogic() { var eventArgs = new BackOneEventArgs(); OnOneBack(this, eventArgs); }
private void OnCancel() { var eventArgs = new BackOneEventArgs(); OnCancelJourney(this, eventArgs); }