wangguan
2020-12-18 516ec29be5c667d9a7bd51edf08567674a166372
Assets/Scripts/Manager/ManagerRoot.cs
@@ -15,6 +15,13 @@
            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");
@@ -26,7 +33,8 @@
                root.AddComponent<AudioSourceManager>();
                root.AddComponent<JsonDataReader>();
                root.AddComponent<JsonDataInit>();
                root.AddComponent<ErrorLogOnGUIMyTools>();
                root.AddComponent<LanguageManager>();
                // root.AddComponent<ErrorLogOnGUIMyTools>();
            }
            //gameObject.AddComponent<JsonDataReader>();