wangguan
2020-12-29 452c75675679c44cc39b04bdb7d330d7c5c14d5c
Assets/Scripts/TowerDefense/UI/EndlessUIStart.cs
@@ -66,8 +66,6 @@
        if (Application.platform == RuntimePlatform.WindowsEditor ||
         Application.platform == RuntimePlatform.WindowsPlayer)
        {
            GameConfig.useSDK = false;
            GameConfig.OpenDebug = true;
            GMBtn.SetActive(true);
        }
        else
@@ -79,7 +77,15 @@
        if (root == null)
        {
            GameConfig.useSDK = SDKConfig.sdkChannel == SDKChannel.KTGM;
            if (Application.platform == RuntimePlatform.WindowsEditor ||
        Application.platform == RuntimePlatform.WindowsPlayer)
            {
                GameConfig.useSDK = false;
                GameConfig.OpenDebug = true;
                SDKConfig.sdkChannel = SDKChannel.KTGM;
            }
            root = new GameObject("ManagerRoot");
            root.AddComponent<DoNotDestory>();