Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置 node.layer=0 后, node的active改变时, layer没有被正确处理 #16884

Open
finscn opened this issue Apr 10, 2024 · 1 comment
Open
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@finscn
Copy link
Contributor

finscn commented Apr 10, 2024

Cocos Creator version

3.8.2

System information

all

Issue description

设置 node.layer=0 , 目的是 不渲染该node. 设置后可以实现"不渲染"的目的.
但是 node的active (也可能是父节点的active) 设置为false, 再还原回true时, 这个node 又被渲染了.

Relevant error log output

No response

Steps to reproduce

如上所述

Minimal reproduction project

No response

@finscn finscn added Bug Needs Triage Needs to be assigned by the team labels Apr 10, 2024
@minggo
Copy link
Contributor

minggo commented Apr 15, 2024

最好给个简单 demo,确保我们的操作和环境是一样的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants