Пример #1
0
        void Awake()
        {
            _commonTopBarView = CommonTopBarView.CreateNewAndAttachTo(core.transform);
            _commonTopBarView.SetAsMainViewStyle();

            Logic.UI.Chat.View.SystemNoticeView.Create(systemNoticeRoot);

            _baseResourceTextDictionary = new Dictionary <BaseResType, Text>();

            // hasNewHeroHintImage.gameObject.SetActive(false);
            hasNewEquipmentHintImage.gameObject.SetActive(false);

            RefreshAccoubntLevel();
            RefreshPveActionNextRecoverTime();
            RefreshBaseResources();
            RefreshHeroModels();
            RefreshWorldBossButton();
            RefreshNewHeroHint();
            RefreshSignHandler();
            RefreshVIPButton();
            BindDelegate();
            AudioController.instance.PlayBGMusic(AudioController.MAINSCENE);
            AudioController.instance.SetBGMusicState(AudioController.instance.isOpenAudioBg);
        }