| | |
| | | //查询是否已经做过了新手引导 |
| | | int guide = PlayerPrefs.GetInt("GemBattleGuide"); |
| | | GameConfig.IsNewbie = guide == 0; |
| | | |
| | | //GameConfig.IsNewbie = false; |
| | | if (GameConfig.IsNewbie) |
| | | { |
| | | Debug.Log("开始新手引导"); |
| | |
| | | countDownTextNew.text = ""; |
| | | countDownTextNew.gameObject.SetActive(false); |
| | | |
| | | Instantiate(Resources.Load<GameObject>("UI/Guide/GuidePanel"), GameObject.Find("BottomUI").transform); |
| | | Instantiate(Resources.Load<GameObject>("UI/Guide/GuidePanel"), transform.Find("Panel")); |
| | | AddGuideEvent(); |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | private void GuidePlayAppearEffect(Vector3 worldPos) |
| | | { |
| | | EndlessGameUI.instance.PlayAppearEffect(worldPos); |
| | | EndlessGameUI.instance.PlayAppearEffectGuide(worldPos); |
| | | } |
| | | |
| | | /// <summary> |