lvjincheng 2 лет назад
Родитель
Сommit
73a3f20711
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Assets/WildAttack/Scripts/GameEnter.cs

+ 1 - 1
Assets/WildAttack/Scripts/GameEnter.cs

@@ -14,6 +14,7 @@ namespace WildAttack
         private int coroutineNum = 7;
         private int coroutineNum = 7;
         void Awake()
         void Awake()
         {
         {
+            SingletonManager.Clear();
             // 数据类init
             // 数据类init
             ModuleInit();
             ModuleInit();
         }
         }
@@ -69,7 +70,6 @@ namespace WildAttack
             if (coroutineNum == 0)
             if (coroutineNum == 0)
             {
             {
                 ObjectPoolInit();
                 ObjectPoolInit();
-
                 UIManager.GetInstance().Init(() =>
                 UIManager.GetInstance().Init(() =>
                 {
                 {
                     FlotagePool.GetInstance().Init();
                     FlotagePool.GetInstance().Init();