chenxin
2020-11-19 1213446becf0fd501829ed8e6532b64cf904b2f6
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -58,8 +58,7 @@
        bGameStart = false;
        bFirstLoaded = false;
        //darkGroundImg = transform.Find("Image_DarkGround").gameObject;
        darkGroundImg.SetActive(false);
        bVibrate = new bool[4];
        bVibrate[0] = bVibrate[1] = bVibrate[2] = bVibrate[3] = false;
@@ -81,11 +80,16 @@
        transform.Find("Panel/Bottom").GetComponent<RectTransform>().anchoredPosition += tmpOffect;
        transform.Find("Panel/TowerBuyBtn").GetComponent<RectTransform>().anchoredPosition += tmpOffect;
        //darkGroundImg = transform.Find("Image_DarkGround").gameObject;
        darkGroundImg.GetComponent<RectTransform>().offsetMin += tmpOffect;
        darkGroundImg.GetComponent<RectTransform>().offsetMax -= tmpOffect*0.5f;
        darkGroundImg.SetActive(false);
        //查询是否已经做过了新手引导
        int guide = PlayerPrefs.GetInt("GemBattleGuide");
        GameConfig.IsNewbie = guide == 0;
        //GameConfig.IsNewbie = false;
        // cx test
        GameConfig.IsNewbie = false;
        if (GameConfig.IsNewbie)
        {
            Debug.Log("开始新手引导");