Ver Fonte

换装套装切换

zhaoyang há 2 anos atrás
pai
commit
5d4a946fd3

+ 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);
             }