| | |
| | | closeBtn = transform.Find("BackGround").GetComponent<Button>(); |
| | | closeBtn.onClick.AddListener(() => |
| | | { |
| | | goonText.DOKill(); |
| | | gameObject.SetActive(false); |
| | | GameConfig.NextSceneName = endlessGameScene; |
| | | SceneManager.LoadScene(loadingScene); |
| | |
| | | TextMeshProUGUI rankUpbj; |
| | | GameObject newPlayerImage;//新用户提示 |
| | | GameObject httpCountDownPanel; |
| | | Text goonText; |
| | | |
| | | /// <summary> |
| | | /// 入口函数 |
| | |
| | | |
| | | endPs = transform.Find("Effect_UI_JieSuanShengLi/03").GetComponent<ParticleSystem>(); |
| | | |
| | | goonText = transform.Find("Image_HScore/GoOnText").GetComponent<Text>(); |
| | | //PlayerPrefs.DeleteKey("GemBattlePlayerNickName"); |
| | | |
| | | playerNickName = PlayerPrefs.GetString(playerPrefs_NickName); |
| | |
| | | if (playPSItem.Count > 0) |
| | | { |
| | | image_HScore.SetActive(true); |
| | | goonFade = true; |
| | | ShowGoOnText(); |
| | | } |
| | | |
| | | yield break; |
| | | } |
| | | |
| | | bool goonFade; |
| | | private void ShowGoOnText() |
| | | { |
| | | goonText.DOFade(goonFade ? 0 : 1, 0.5f).OnComplete(ShowGoOnText); |
| | | goonFade = !goonFade; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 文字显示结束,显示波次和是否最高记录 |
| | | /// </summary> |