Example #1
0
 private void OnDestroy()
 {
     uiMapManager  = null;
     infoManager   = null;
     areaManager   = null;
     mapCamera     = null;
     overView      = null;
     overCamera    = null;
     commonDialog  = null;
     character     = null;
     howToStrategy = null;
 }
 private void OnDestroy()
 {
     this.uiMapManager  = null;
     this.infoManager   = null;
     this.areaManager   = null;
     this.mapCamera     = null;
     this.overView      = null;
     this.overCamera    = null;
     this.commonDialog  = null;
     this.character     = null;
     this.howToStrategy = null;
 }
Example #3
0
        public void sailSelectFirstInit()
        {
            shipIconManager      = StrategyTopTaskManager.Instance.ShipIconManager;
            infoManager          = StrategyTopTaskManager.Instance.GetInfoMng();
            areaManager          = StrategyTopTaskManager.Instance.GetAreaMng();
            TileFocusColor       = new Color(25f, 227f, 143f, 1f);
            sttm                 = StrategyTaskManager.GetStrategyTop();
            DeckSelectController = new KeyControl(0, StrategyTopTaskManager.GetLogicManager().UserInfo.DeckCount - 1);
            DeckSelectController.setChangeValue(0f, 1f, 0f, -1f);
            DeckSelectController.KeyInputInterval = 0.2f;
            DeckSelectController.SilentChangeIndex(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeckID);
            Live2DModel = SingletonMonoBehaviour <Live2DModel> .Instance;
            int currentAreaID = SingletonMonoBehaviour <AppInformation> .Instance.CurrentAreaID;

            KeyControlManager.Instance.KeyController.Index = currentAreaID;
            shipIconManager.setShipIcons(StrategyTopTaskManager.GetLogicManager().UserInfo.GetDecks());
            SingletonMonoBehaviour <AppInformation> .Instance.prevStrategyDecks = null;
            FirstPlayVoice = delegate
            {
                StrategyTopTaskManager.Instance.UIModel.Character.PlayVoice(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck);
            };
            isEnableCharacterEnter = true;
            prevDeckID             = SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeckID;
        }