예제 #1
0
        private void HandleCancelJourney(object sender, BackOneEventArgs e)
        {
            view.MenuVisibility(false);
            IResultPanelView resultPanelView = GetComponent <ResultPanelController>().GETResultPanelView();

            resultPanelView.setAllResultMenuVisibility(true);
        }
예제 #2
0
        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();
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }
예제 #5
0
        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;
                    }
                }
            }
        }
예제 #6
0
        private void OnBackButtonLogic()
        {
            var eventArgs = new BackOneEventArgs();

            OnOneBack(this, eventArgs);
        }
예제 #7
0
        private void OnCancel()
        {
            var eventArgs = new BackOneEventArgs();

            OnCancelJourney(this, eventArgs);
        }