private IEnumerator CreateFlagshipWreck(IObserver <bool> observer)
        {
            _prodFlagshipWreck = ProdFlagshipWreck.Instantiate(parent: BattleTaskManager.GetBattleCameras().cutInCamera.transform, prefab: ((Component)BattleTaskManager.GetPrefabFile().prefabProdFlagshipWreck).GetComponent <ProdFlagshipWreck>(), flagShip: BattleTaskManager.GetBattleManager().Ships_f[0], deck: SortieBattleTaskManager.GetMapManager().Deck, input: BattleTaskManager.GetKeyControl(), isBattleCut: false);
            yield return(new WaitForEndOfFrame());

            observer.OnNext(value: true);
            observer.OnCompleted();
        }
 public override bool Init(object data)
 {
     SingletonMonoBehaviour <AppInformation> .Instance.NextLoadScene = Generics.Scene.Strategy;
     _prodFlagshipWreck = ProdFlagshipWreck.Instantiate(((Component)BattleCutManager.GetPrefabFile().prefabProdFlagshipWreck).GetComponent <ProdFlagshipWreck>(), BattleCutManager.GetSharedPlase(), BattleCutManager.GetBattleManager().Ships_f[0], BattleCutManager.GetMapManager().Deck, BattleCutManager.GetKeyControl(), isBattleCut: true);
     _prodFlagshipWreck.Play(delegate
     {
         SingletonMonoBehaviour <FadeCamera> .Instance.SetActive(isActive: true);
         SingletonMonoBehaviour <FadeCamera> .Instance.FadeOut(0.2f, delegate
         {
             SingletonMonoBehaviour <SoundManager> .Instance.soundVolume.BGM = BattleDefines.SOUND_KEEP.BGMVolume;
             SingletonMonoBehaviour <SoundManager> .Instance.rawBGMVolume    = BattleDefines.SOUND_KEEP.BGMVolume;
             Mst_DataManager.Instance.PurgeUIBattleMaster();
             SingletonMonoBehaviour <FadeCamera> .Instance.isDrawNowLoading = false;
             RetentionData.SetData(BattleUtils.GetRetentionDataFlagshipWreck(BattleCutManager.GetMapManager(), ShipRecoveryType.None));
             Application.LoadLevel(Generics.Scene.LoadingScene.ToString());
         });
     });
     return(false);
 }