wangguan
2020-12-22 a9be71cf5fc495f2df69c2f5b2f8910aa275877a
编辑器和win模式下开启GM面板
1 files modified
9 ■■■■■ changed files
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs 9 ●●●●● patch | view | raw | blame | history
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -62,11 +62,7 @@
    protected override void Awake()
    {
        base.Awake();
        //这里为了方便直接使用Endless2D
        GameObject root = GameObject.Find("ManagerRoot");
        if (root == null)
        {
            if (Application.platform == RuntimePlatform.WindowsEditor ||
           Application.platform == RuntimePlatform.WindowsPlayer)
            {
@@ -77,6 +73,11 @@
            {
                GMBtn.SetActive(false);
            }
        //这里为了方便直接使用Endless2D
        GameObject root = GameObject.Find("ManagerRoot");
        if (root == null)
        {
            root = new GameObject("ManagerRoot");