| | |
| | | GameObject root = GameObject.Find("ManagerRoot"); |
| | | 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; |
| | | } |
| | | |
| | | //PlayerPrefs.DeleteAll(); |
| | | Application.targetFrameRate = 60; |
| | | //Debug.Log("设置了帧数为60"); |
| | | DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 10); |