Ejemplo n.º 1
0
 private void OnDestroy()
 {
     _prefabProdRebellionStart = null;
     _prodRebellionAreaCheck   = null;
     deckInfoManager           = null;
     commonDialog            = null;
     StrategyDialog          = null;
     GoSortieConfirm         = null;
     TweenAlphaRedMask       = null;
     _prodRebellionStart     = null;
     _prodRebellionAreaCheck = null;
     Mem.DelListSafe(ref AreaDecks);
 }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     this._prefabProdRebellionStart = null;
     this._prodRebellionAreaCheck   = null;
     this.deckInfoManager           = null;
     this.commonDialog            = null;
     this.StrategyDialog          = null;
     this.GoSortieConfirm         = null;
     this.TweenAlphaRedMask       = null;
     this._prodRebellionStart     = null;
     this._prodRebellionAreaCheck = null;
     Mem.DelListSafe <DeckModel>(ref this.AreaDecks);
 }
Ejemplo n.º 3
0
 protected override bool Init()
 {
     this.DelayAction(1.5f, delegate
     {
         StrategyTopTaskManager.Instance.GetInfoMng().MoveScreenOut(null);
     });
     _prodRebellionStart     = ProdRebellionStart.Instantiate(((Component)_prefabProdRebellionStart).GetComponent <ProdRebellionStart>(), StrategyTaskManager.GetOverView());
     _prodRebellionAreaCheck = Util.Instantiate(_prefabProdAreaCheck, StrategyTaskManager.GetMapRoot().gameObject).GetComponent <ProdRebellionAreaCheck>();
     _prodRebellionStart.Play(delegate
     {
         setActiveRedMask(isActive: true);
     }).Subscribe(delegate
     {
         _prodRebellionAreaCheck.Play(StrategyRebellionTaskManager.RebellionFromArea, StrategyRebellionTaskManager.RebellionArea, delegate
         {
             StartCoroutine(GoNextSceneAtDeckNum(StrategyTaskManager.GetStrategyRebellion().GetRebellionManager().Decks));
         });
     }).AddTo(base.gameObject);
     return(true);
 }