chenxin
2020-12-05 a251b401dd2535b7583d1813e08dc2e3cced05d5
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -166,8 +166,6 @@
        int guide = PlayerPrefs.GetInt("GemBattleGuide");
        GameConfig.IsNewbie = guide == 0;
        //GameConfig.IsNewbie = true;
        GameConfig.IsNewbieStart = GameConfig.IsNewbie;
        if (GameConfig.IsNewbie)
@@ -178,8 +176,8 @@
            HideUIMask();
            countDownTextNew.text = "";
            countDownTextNew.gameObject.SetActive(false);
            //GameObject go = Resources.Load<GameObject>("UI/Guide/GuidePanel");
            GameObject guideObj = Instantiate(Resources.Load<GameObject>("UI/Guide/GuidePanel"), transform.Find("Panel"));
            GameObject prefab = Resources.Load<GameObject>("UI/Guide/GuidePanel");
            GameObject guideObj = Instantiate(prefab, transform.Find("Panel"));
            guideObj.GetComponent<RectTransform>().offsetMin += tmpOffect;
            AddGuideEvent();
        }