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

[EditorOnly] tag still present in render #2

Open
usernameHed opened this issue Apr 21, 2023 · 1 comment
Open

[EditorOnly] tag still present in render #2

usernameHed opened this issue Apr 21, 2023 · 1 comment

Comments

@usernameHed
Copy link

Hello! inside our game, we often have some UI Button tagged ad "EditorOnly", those buttons serve debugging purpose, and are not present in the final build.

It could be nice to include a boolean in this tool to disable any EditorOnly gameObject appearing in scene when they are first loaded.

  • first add a boolean "disable EditorOnly tag"
  • then listen to Scene Openning (Single OR additive mode)
  • Every time a scene load, disable every "EditorOnly" tag
@marwie
Copy link

marwie commented Apr 22, 2023

Hi, please report this to Unity directly - it won't reach the devs through this repository (this is not an official Unity repository)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants