Răsfoiți Sursa

配置优化

guodong 1 an în urmă
părinte
comite
436932f12b

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/ItemDataManager.cs

@@ -199,7 +199,7 @@ namespace GFGGame
             {
             {
                 Add(roleItem);
                 Add(roleItem);
             }
             }
-            DressUpMenuItemDataManager.StartPreLoadItemCfg();
+            //DressUpMenuItemDataManager.StartPreLoadItemCfg();
             _ = DressUpMenuItemDataManager.GetAllDressUpGuideIdListBySubTypeAsync();
             _ = DressUpMenuItemDataManager.GetAllDressUpGuideIdListBySubTypeAsync();
 
 
         }
         }

+ 5 - 0
GameClient/Assets/Game/HotUpdate/HotUpdateDriver.cs

@@ -28,5 +28,10 @@ namespace GFGGame
         {
         {
             OperationSystem.DestroyAll();
             OperationSystem.DestroyAll();
         }
         }
+
+        private void OnApplicationQuit()
+        {
+            SQLiteHelper.Instance.CloseConnection(true);
+        }
     }
     }
 }
 }