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

Feature: Add "ignore (Visible/Alpha)" gameobject property #6

Closed
Ariorh1337 opened this issue May 15, 2024 · 1 comment
Closed

Feature: Add "ignore (Visible/Alpha)" gameobject property #6

Ariorh1337 opened this issue May 15, 2024 · 1 comment

Comments

@Ariorh1337
Copy link

I would like a boolean parameter that will ignore the (visible false) and (alpha 0) inside the editor,
so that you can see the hidden element without modifying its properties.
This became very relevant after EventScript update.

@Ariorh1337 Ariorh1337 changed the title Add "ignore (Visible/Alpha)" gameobject property Feature: Add "ignore (Visible/Alpha)" gameobject property May 16, 2024
@PhaserEditor2D
Copy link
Collaborator

Mmm... Maybe by adding two new parameters: Preview Visible and Preview Alpha. But I'm not sure. It looks like too much. Do you know how other editors solve this? I think you can use the Visible property to hide/show the objects in the editor, and you can use a user component to hide/show the object in the game. Name it VisibleAlphaComp, with two user properties gameVisible and gameAlpha, then it updates the visibility and alpha of the object in the run-time.

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