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

Hidden export hint for variables used only in PackedScenes #30421

Closed
mrzapp opened this issue Jul 8, 2019 · 1 comment
Closed

Hidden export hint for variables used only in PackedScenes #30421

mrzapp opened this issue Jul 8, 2019 · 1 comment
Labels

Comments

@mrzapp
Copy link

mrzapp commented Jul 8, 2019

I'd like to propose a way for exported variables not to show up in the inspector. This is for when the variable needs to be saved into a PackedScene, but should not be editable by designers.

An example of such a variable could be the state of an NPC.

In order to not mess with the parser too much, it could be added as a keyword, like this:

export hidden (STATE) var state : int = STATE.IDLE
@bojidar-bg
Copy link
Contributor

Duplicate of #5988. (even the export hidden idea: #5988 (comment). Great minds...)

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

No branches or pull requests

2 participants