瀏覽代碼

换装套装切换

zhaoyang 2 年之前
父節點
當前提交
5d4a946fd3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

@@ -314,14 +314,14 @@ namespace GFGGame
         {
             this.showListParts2(suitId);
             this.hideListParts();
+            MyDressUpHelper.dressUpObj.TakeOffAll();
             if (showAction)
             {
+
                 MyDressUpHelper.dressUpObj.PutOnSuitCfg(suitId, true);
-                MyDressUpHelper.dressUpObj.PutOnAction(suitId);
             }
             else
             {
-                MyDressUpHelper.dressUpObj.CancelAction();
                 MyDressUpHelper.dressUpObj.PutOnSuitCfg(suitId, false);
             }