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

Export PackedScene Array does not compile #15961

Closed
supagu opened this issue Jan 22, 2018 · 3 comments · Fixed by #16418
Closed

Export PackedScene Array does not compile #15961

supagu opened this issue Jan 22, 2018 · 3 comments · Fixed by #16418

Comments

@supagu
Copy link
Contributor

supagu commented Jan 22, 2018

In Godot 3,
export(Array, NodePath) var levels;
compiles fine but
export(Array, PackedScene) var levels;

fails with an error:
Expected ')' or ',' after export hint.

(Related to #3586)

@akien-mga akien-mga added this to the 3.1 milestone Jan 22, 2018
@eon-s
Copy link
Contributor

eon-s commented Jan 26, 2018

Object type works?

@vnen
Copy link
Member

vnen commented Jan 26, 2018

I believe this hint only works with built-in types.

@supagu
Copy link
Contributor Author

supagu commented Jan 27, 2018

export(Array, Object) var test_levels;

shows an array which I can resize in the editor, but I can't do anything with the indicies/fields. It just shows an array of and does not let me edit them in anyway.

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

Successfully merging a pull request may close this issue.

4 participants