Ejemplo n.º 1
0
        public void Open()
        {
            this.panelGo.SetActive(true);

            SoundHelper.FadeInPlaySound(DataCenterComponent.Instance.soundInfo.paihangbang_enter);

            this._TEC.Play(TweenAnimationIdType.MyRecordPanel);

            this.Start();
        }
Ejemplo n.º 2
0
        public void OnShow()
        {
            SoundHelper.FadeInPlaySound(DataCenterComponent.Instance.soundInfo.ddz_second_enter);

            this.panel.SetActive(true);

            this.GoldNumberText.text = UserDataHelper.UserInfo.Gold.ToString("F2");

            this.PlayerIDText.text = "ID:" + UserDataHelper.UserInfo.PlayerId;

            this.playerHeadImg.sprite = SpriteHelper.GetPlayerHeadSpriteName(UserDataHelper.UserInfo.HeadId);

            var currentAreaInfo = GameHelper.AreaList[DDZGameHelper.CurrentGameInfo.GameId];

            //this.LevelButton_middle.TryGetInChilds<Text>("ZhunRuText").text = "1"; //currentAreaInfo[0].Score.ToString();

            //this.LevelButton_middle.TryGetInChilds<Text>("BottomScoreText").text = "1"; //currentAreaInfo[0].Score.ToString();
        }