zhaoyang 3 жил өмнө
parent
commit
9c940b7ec1

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/PhotographView.cs

@@ -507,7 +507,7 @@ namespace GFGGame
                 SpriteRenderer spr = parentGameObj.transform.GetChild(0).GetComponent<SpriteRenderer>();
                 ItemTypeCfg itemTypeCfg = ItemTypeCfgArray.Instance.GetCfg(itemCfg.subType);
 
-                int layer = isDefaultLayer ? itemTypeCfg.specialLayer : maxLayer + 1;
+                int layer = isDefaultLayer ? itemTypeCfg.defaultLayer : maxLayer + 1;
                 for (int i = 0; i < parentGameObj.transform.childCount; i++)
                 {
                     Transform obj = parentGameObj.transform.GetChild(i);