wangguan
2020-12-10 5f6fb6dccd1330b5b0bcb2d721167a6ac062f3ad
Assets/Scripts/Manager/ManagerRoot.cs
@@ -2,6 +2,7 @@
using System.Collections;
using System.Collections.Generic;
using Core.Utilities;
using DG.Tweening;
using Protobuf;
using UnityEngine;
@@ -9,23 +10,25 @@
{
    public class ManagerRoot : MonoBehaviour
    {
        void Awake()
        {
            GameObject root = GameObject.Find("ManagerRoot");
            if (root == null)
            {
                DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 10);
                root = new GameObject("ManagerRoot");
                root.AddComponent<SDKCallBack>();
                root.AddComponent<DoNotDestory>();
                root.AddComponent<MasterSocket>();
                root.AddComponent<TDAA_SDKManager>();
                root.AddComponent<AudioSourceManager>();
                root.AddComponent<JsonDataReader>();
                root.AddComponent<JsonDataInit>();
                root.AddComponent<ErrorLogOnGUIMyTools>();
            }
            //gameObject.AddComponent<JsonDataReader>();
        }
        // public void AfterRead()