chenxin
2020-12-17 df8c6633500f6c1c752f8a60025cda0e9909644c
Assets/Scripts/Manager/ManagerRoot.cs
@@ -15,9 +15,18 @@
            GameObject root = GameObject.Find("ManagerRoot");
            if (root == null)
            {
                if (Application.platform == RuntimePlatform.WindowsEditor ||
            Application.platform == RuntimePlatform.WindowsPlayer)
                {
                    GameConfig.useSDK = false;
                }
                Application.targetFrameRate = 60;
                //Debug.Log("设置了帧数为60");
                DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 10);
                root = new GameObject("ManagerRoot");
                // if (GameConfig.useSDK)
                //     root.AddComponent<SDKCallBack>();
                root.AddComponent<DoNotDestory>();
                root.AddComponent<MasterSocket>();
                root.AddComponent<TDAA_SDKManager>();