private void OnDestroy()
 {
     ReturnMissionAnim = null;
     mPrefab_UserInterfaceStrategyResult = null;
     dayAnimation      = null;
     ReturnMissionAnim = null;
     LogicMng          = null;
     enemyResult       = null;
     TurnResult        = null;
     userPreAction     = null;
 }
        private IEnumerator UserPreAction()
        {
            userPreAction = StrategyTopTaskManager.GetLogicManager().GetResult_UserPreActionPhase();
            MissionResultModel[] missionResultModels = userPreAction.MissionResults;
            if (missionResultModels.Length != 0)
            {
                ShipUtils.PlayShipVoice(LogicMng.UserInfo.GetDeck(1).GetFlagShip(), 7);
                KeyControl managerKeyController = KeyControlManager.Instance.KeyController;
                for (int i = 0; i < missionResultModels.Length; i++)
                {
                    finished = false;
                    GameObject ReturnAnim           = Util.InstantiateGameObject(ReturnMissionAnim, GameObject.Find("OverView").transform);
                    UIMissionStateChangedCutin Anim = ReturnAnim.GetComponent <UIMissionStateChangedCutin>();
                    Anim.Initialize(LogicMng.UserInfo.GetDeck(userPreAction.MissionResults[i].DeckID));
                    Anim.PlayFinishedCutin(delegate
                    {
                        throw new NotImplementedException("なにこれ");
                        // _003CUserPreAction_003Ec__Iterator186 _003CUserPreAction_003Ec__Iterator = this;


                        UnityEngine.Object.Destroy(Anim.gameObject);
                        UserInterfaceStrategyResult userInterfaceStrategyResult = UnityEngine.Object.Instantiate(this.mPrefab_UserInterfaceStrategyResult);
                        userInterfaceStrategyResult.transform.positionX(5000f);
                        MissionResultModel missionResultModel = missionResultModels[i];
                        KeyControl keyController = new KeyControl();
                        userInterfaceStrategyResult.Initialize(StrategyTopTaskManager.GetLogicManager(), missionResultModel, keyController, delegate
                        {
                            StrategyTopTaskManager.Instance.UIModel.Character.setState(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck);
                            StrategyTopTaskManager.Instance.UIModel.Character.ChangeCharacter();
                            StrategyTopTaskManager.Instance.UIModel.UIMapManager.ShipIconManager.setShipIconsState();
                            userInterfaceStrategyResult.FadeOut(delegate
                            {
                                UnityEngine.Object.Destroy(userInterfaceStrategyResult.gameObject);
                                finished = true;
                            });
                        });
                        userInterfaceStrategyResult.Play();
                    });
                    while (!finished)
                    {
                        yield return(null);
                    }
                }
                KeyControlManager.Instance.KeyController = managerKeyController;
                bool isShow = SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck.MissionState == MissionStates.NONE;
                StrategyTopTaskManager.Instance.GetInfoMng().MoveScreenIn(null, isShow);
            }
            else
            {
                finished = true;
            }
            yield return(null);
        }