浏览代码

换装偏移处理

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;