Esempio n. 1
0
 private void Start()
 {
     this._MapArea    = SingletonMonoBehaviour <AppInformation> .Instance.CurrentAreaID;
     this._clsRepair  = new RepairManager(this._MapArea);
     this._mstManager = Mst_DataManager.Instance;
     this._shipdata   = new Mst_ship();
     this._FadeDone   = false;
     if (SingletonMonoBehaviour <PortObjectManager> .exist())
     {
         SingletonMonoBehaviour <PortObjectManager> .Instance.PortTransition.EndTransition(delegate
         {
             SoundUtils.SwitchBGM(BGMFileInfos.PortTools);
             this.OnTransitionFinished();
         }, true, true);
     }
     else
     {
         this.OnTransitionFinished();
     }
     this._isStartUP   = false;
     this._now_texgirl = 0;
     this.bd1          = GameObject.Find("board1_top/board").GetComponent <board>();
     this.StartUp();
 }