wangguan
2020-12-22 3c54c3efb141adf11146eff7678e363f1be9cad3
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -62,21 +62,22 @@
    protected override void Awake()
    {
        base.Awake();
        if (Application.platform == RuntimePlatform.WindowsEditor ||
         Application.platform == RuntimePlatform.WindowsPlayer)
        {
            GameConfig.useSDK = false;
            GMBtn.SetActive(true);
        }
        else
        {
            GMBtn.SetActive(false);
        }
        //这里为了方便直接使用Endless2D
        GameObject root = GameObject.Find("ManagerRoot");
        if (root == null)
        {
            if (Application.platform == RuntimePlatform.WindowsEditor ||
           Application.platform == RuntimePlatform.WindowsPlayer)
            {
                GameConfig.useSDK = false;
                GMBtn.SetActive(true);
            }
            else
            {
                GMBtn.SetActive(false);
            }
            root = new GameObject("ManagerRoot");
@@ -626,7 +627,7 @@
            fireSkillCost = JsonDataCenter.GetSkillLevelInfo(fireSkillID, GameConfig.SkillLevel).cost;
            bombSkillCost = JsonDataCenter.GetSkillLevelInfo(bombSkillID, GameConfig.SkillLevel).cost;
            //Debug.Log($"技能最高5级,当前技能等级:{GameConfig.SkillLevel}  fireSkillCost:{fireSkillCost}  ");
            fireSkillLevelText.text = "Lv." + GameConfig.SkillLevel;
            fireSkillLevelText.text = GameConfig.SkillLevel + "级";
        }
    }