コード例 #1
0
        private bool pushExpedition()
        {
            if (SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck.MissionState == MissionStates.NONE)
            {
                if (!this.validCheck(TaskStrategyCommandMenu.MENU_NAME.ENSEI))
                {
                    return(false);
                }
                this.CommandMenu.MenuExit();
                this.currentMenu = TaskStrategyCommandMenu.MENU_NAME.ENSEI;
                StrategyTaskManager.setCallBack(delegate
                {
                    StrategyTopTaskManager.Instance.GetInfoMng().updateFooterInfo(false);
                    StrategyTopTaskManager.Instance.GetInfoMng().updateUpperInfo();
                    this.InfoRoot.SetActive(true);
                    this.MapRoot.SetActive(true);
                    this.OverView.SetActive(true);
                    this.OverScene = TaskStrategyCommandMenu.Scene.NONE;
                    KeyControlManager.Instance.KeyController = this.keyController;
                    this.CommandMenu.MenuEnter(3);
                    StrategyTopTaskManager.Instance.UIModel.UIMapManager.ShipIconManager.setShipIconsState();
                    StrategyTopTaskManager.Instance.UIModel.Character.setState(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck);
                    StrategyTopTaskManager.Instance.setActiveStrategy(true);
                    SingletonMonoBehaviour <Live2DModel> .Instance.Enable();
                });
                SingletonMonoBehaviour <FadeCamera> .Instance.FadeOut(0.2f, delegate
                {
                    this.InfoRoot.SetActive(false);
                    this.OverView.SetActive(false);
                    GameObject gameObject = Object.Instantiate <GameObject>(this.ENSEI);
                    gameObject.get_transform().positionX(999f);
                });

                this.OverSceneObject = GameObject.Find("UIRoot");
                this.OverScene       = TaskStrategyCommandMenu.Scene.EXPEDISION;
                StrategyTopTaskManager.Instance.setActiveStrategy(false);
                SingletonMonoBehaviour <Live2DModel> .Instance.Disable();
            }
            else
            {
                this.StopExpeditionPanel = Util.Instantiate(this.ENSEI_Cancel, this.OverView, false, false).GetComponent <StopExpedition>();
                MissionManager missionMng = new MissionManager(SingletonMonoBehaviour <AppInformation> .Instance.CurrentAreaID);
                this.StopExpeditionPanel.StartPanel(missionMng);
            }
            return(true);
        }
コード例 #2
0
 private void OnDestroy()
 {
     this.ENSEI          = null;
     this.EscortOrganize = null;
     this.mPrefab_UserInterfacePracticeManager = null;
     this.mUserInterfacePracticeManager        = null;
     this.sttm                = null;
     this.sailSelect          = null;
     this.CommandMenu         = null;
     this.LogicMng            = null;
     this.ShipNumberLabel     = null;
     this.areaModel           = null;
     this.warningPanel        = null;
     this.InfoRoot            = null;
     this.MapRoot             = null;
     this.OverView            = null;
     this.OverSceneObject     = null;
     this.StopExpeditionPanel = null;
     this.keyController       = null;
     this.SwipeEvent          = null;
     this.StopExpeditionPanel = null;
 }
コード例 #3
0
 private void OnDestroy()
 {
     ENSEI          = null;
     EscortOrganize = null;
     mPrefab_UserInterfacePracticeManager = null;
     mUserInterfacePracticeManager        = null;
     sttm                = null;
     sailSelect          = null;
     CommandMenu         = null;
     LogicMng            = null;
     ShipNumberLabel     = null;
     areaModel           = null;
     warningPanel        = null;
     InfoRoot            = null;
     MapRoot             = null;
     OverView            = null;
     OverSceneObject     = null;
     StopExpeditionPanel = null;
     keyController       = null;
     SwipeEvent          = null;
     StopExpeditionPanel = null;
 }