فهرست منبع

换装偏移处理

guodong 1 سال پیش
والد
کامیت
72ba05504e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      GameClient/Assets/Game/HotUpdate/DressUp/DressUpLayerOperation.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/DressUp/DressUpLayerOperation.cs

@@ -296,7 +296,7 @@ namespace GFGGame
                     DressUpUtil.AddSpriteObj(this.resPath, spritObjName, parentObj, sortingOrder, needSetMask);
                 }
             }
-            if(!this.showAni)
+            if(!this.showAni && removeBodyAni)
             {
                 parentObj.transform.localPosition = Vector3.zero;
                 parentObj.transform.localRotation = Quaternion.identity;