Просмотр исходного кода

图鉴服装刷新时间修改

HDY 4 месяцев назад
Родитель
Сommit
bf12d1ef21

+ 2 - 3
GameClient/Assets/Game/HotUpdate/DressUp/DressUpObj.cs

@@ -285,7 +285,7 @@ namespace GFGGame
             bool CheckOwn = true, bool isDress = false, Action<bool> action = null)
         {
             _isPuttingOnSuit = true;
-
+            needYooAsseetDown = false;
             SuitCfg suitCfg = CommonDataManager.Tables.TblSuitCfg.GetOrDefault(suitId);
             if (suitCfg == null)
             {
@@ -783,7 +783,7 @@ namespace GFGGame
             if (handlers != null && handlers.Count > 0)
             {
                 bool draw = true;
-                needYooAsseetDown = false;
+                needYooAsseetDown = true;
                 foreach (var handler in handlers)
                 {
                     if (!handler.IsDone)
@@ -800,7 +800,6 @@ namespace GFGGame
                     {
                         if (handler.Status == YooAsset.EOperationStatus.Succeed)
                         {
-                            needYooAsseetDown = true;
                             handler.UpdateView();
                             _completedLayerOperationCount++;
                         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/SuitShowView.cs

@@ -162,7 +162,7 @@ namespace GFGGame
                         (needYooAsseetDown) =>
                         {
                             if(needYooAsseetDown)
-                                Timers.inst.Add(3f, 1, OnTimerUpDate);
+                                Timers.inst.Add(4f, 1, OnTimerUpDate);
                             else
                                 Timers.inst.Add(0.3f, 1, OnTimerUpDate);
                         }