cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Button,ProgressBar,EditBox等的子节点Label,Bar, TEXTLABEL,PLACEHOLDER_LABEL在创建时其layer没有跟随父节点

Open Will-Z666 opened this issue 1 year ago • 0 comments

Cocos Creator version

3.8.5

System information

Win10

Issue description

我在layer为自定义UI_FRONT的节点下创建Button,他的layer是UI_FRONT,但其子节点Label的layer仍是UI_2D。

Relevant error log output

No response

Steps to reproduce

Button,ProgressBar,EditBox已测,其他有子节点的应该也有类似问题

Minimal reproduction project

No response

Will-Z666 avatar Jul 11 '24 08:07 Will-Z666