Bläddra i källkod

公用机提交

hexiaojie 6 månader sedan
förälder
incheckning
f43e05fc97

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Assets/PrefabManager.cs

@@ -4,6 +4,8 @@ using UniFramework.Pooling;
 using UnityEngine;
 using YooAsset;
 using System.Collections.Generic;
+using OfficeOpenXml.FormulaParsing.Excel.Functions.Math;
+using Log = ET.Log;
 
 namespace GFGGame
 {
@@ -45,6 +47,7 @@ namespace GFGGame
             }
 
             var handle = _entitySpawner.SpawnSync(resPath);
+            Log.Debug(resPath);
             AssetReleaserHelper.AddReleaserToSpawnObj(handle.GameObj, resPath, handle);
             return handle.GameObj;
         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/HotUpdateDriver.cs

@@ -52,7 +52,7 @@ namespace GFGGame
         private void OnApplicationPause(bool pause)
         {
             if(pause)
-            {
+            {   
                 GameGlobal.pauseTime = ET.TimeHelper.ClientNowSeconds();
             }
         }