zhaoyang %!s(int64=2) %!d(string=hai) anos
pai
achega
5fcd9bc2c8
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      GameClient/Assets/Game/HotUpdate/DressUp/DressUpUtil.cs

+ 1 - 3
GameClient/Assets/Game/HotUpdate/DressUp/DressUpUtil.cs

@@ -231,9 +231,7 @@ namespace GFGGame
             GameObject gameObject = AddSpriteObj(res, ext, spritObjName, parentObj, sortingOrder, needSetMask);
             if (itemCfg.subType == (int)ConstDressUpItemType.BEI_JING)
             {
-                Debug.Log("layerName:" + LayerMask.LayerToName(6));
-                int layer = LayerMask.NameToLayer("Bg");
-                gameObject.layer = layer;
+                gameObject.layer = LayerMask.NameToLayer("Bg"); ;
             }
             if (itemCfg.isAni > 0 && showAni)
             {