瀏覽代碼

拍照特效

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

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