wangguan
2020-12-10 902a10e14cd00c8db894c08f4455e60ddd0af8c4
Assets/Scripts/Manager/ManagerRoot.cs
@@ -10,7 +10,6 @@
{
    public class ManagerRoot : MonoBehaviour
    {
        void Awake()
        {
            GameObject root = GameObject.Find("ManagerRoot");
@@ -19,16 +18,18 @@
                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>();
                root.AddComponent<AudioSourceManager>();
                // root.AddComponent<ErrorLogOnGUIMyTools>();
                root.AddComponent<JsonDataReader>();
                root.AddComponent<JsonDataInit>();
                root.AddComponent<ErrorLogOnGUIMyTools>();
            }
            //gameObject.AddComponent<JsonDataReader>();
        }
        // public void AfterRead()