chenxin
2020-11-18 2ef9a95def81f3f47f302c86a5709140a6f39ce6
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -19,7 +19,7 @@
    public TextMeshProUGUI timeTextNew = null;
    public TextMeshProUGUI timeStatic = null;
    //public TextMeshProUGUI timeStatic = null;
    /// <summary>
    /// 结算界面
@@ -49,7 +49,7 @@
    public bool beginSkillStep = false;
    private GameObject darkGroundImg;
    public GameObject darkGroundImg;
    // Start is called before the first frame update
    void Start()
@@ -58,13 +58,11 @@
        bGameStart = false;
        bFirstLoaded = false;
        darkGroundImg = transform.Find("Image_DarkGround").gameObject;
        //darkGroundImg = transform.Find("Image_DarkGround").gameObject;
        darkGroundImg.SetActive(false);
        bVibrate = new bool[4];
        bVibrate[0] = bVibrate[1] = bVibrate[2] = bVibrate[3] = false;
        if (timeStatic)
            timeStatic.gameObject.SetActive(false);
        EndlessBuffSelect.instance.HideBuffUI();
        EndlessSettlement settlement = SettlementUI.transform.Find("BgMask").GetComponent<EndlessSettlement>();
        settlement.Init();
@@ -76,7 +74,7 @@
        //查询是否已经做过了新手引导
        int guide = PlayerPrefs.GetInt("GemBattleGuide");
        GameConfig.IsNewbie = guide == 0;
        //GameConfig.IsNewbie = false;
        if (GameConfig.IsNewbie)
        {
            Debug.Log("开始新手引导");
@@ -85,7 +83,7 @@
            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();
        }
@@ -196,7 +194,7 @@
    /// </summary>
    private void GuidePlayAppearEffect(Vector3 worldPos)
    {
        EndlessGameUI.instance.PlayAppearEffect(worldPos);
        EndlessGameUI.instance.PlayAppearEffectGuide(worldPos);
    }
    /// <summary>