public void Open() { this.panelGo.SetActive(true); SoundHelper.FadeInPlaySound(DataCenterComponent.Instance.soundInfo.paihangbang_enter); this._TEC.Play(TweenAnimationIdType.MyRecordPanel); this.Start(); }
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(); }