protected override bool Run()
        {
            KeyControl keyControl = SortieBattleTaskManager.GetKeyControl();

            if (_iMode != SortieMapTaskManagerMode.Formation)
            {
                if (keyControl.GetDown(KeyControl.KeyName.L))
                {
                    _shortCutSwitch.Switch();
                }
            }
            else if (_shortCutSwitch.isShortCut)
            {
                _shortCutSwitch.Hide();
            }
            if (_ctrlActiveBranching != null)
            {
                _ctrlActiveBranching.Update();
            }
            _clsTasks.Update();
            UpdateMode();
            if (SortieBattleTaskManager.GetMode() != SortieBattleMode.SortieBattleMode_BEF)
            {
                return((SortieBattleTaskManager.GetMode() == SortieBattleMode.SortieBattleMode_ST) ? true : false);
            }
            return(true);
        }
        protected override bool Init()
        {
            App.TimeScale(1f);
            UIShortCutSwitch shortCutSwitch = SortieMapTaskManager.GetShortCutSwitch();

            shortCutSwitch.Hide();
            SortieMapTaskManager.GetUIShipCharacter().ShowInFormation(50, null);
            BattleFormationKinds1[] formationArray = SortieUtils.GetFormationArray(SortieBattleTaskManager.GetMapManager().Deck);
            if (1 < formationArray.Length)
            {
                _uiBattleFormationSelector = Util.Instantiate(SortieMapTaskManager.GetPrefabFile().prefabUIBattleFormationKindSelectManager.gameObject, SortieMapTaskManager.GetSharedPlace().gameObject).GetComponent <UIBattleFormationKindSelectManager>();
                SortieMapTaskManager.GetUIAreaMapFrame().SetMessage("陣形を選択してください。");
                _uiBattleFormationSelector.Initialize(GameObject.Find("SortieAreaCamera").GetComponent <Camera>(), formationArray);
                _uiBattleFormationSelector.SetOnUIBattleFormationKindSelectManagerAction(UIBattleFormationKindSelectManagerActionCallBack);
                _uiBattleFormationSelector.SetKeyController(SortieBattleTaskManager.GetKeyControl());
            }
            else
            {
                OnFormationSelected(BattleFormationKinds1.TanJuu);
            }
            return(true);
        }