Allow passing variables to new scene using argument #9875
shak2
started this conversation in
Engine Core
Replies: 2 comments 2 replies
-
Where would the arguments go? What method would be called and where? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example: change_scene_to_file(SCENEFILE, arg1, arg2, ...)
Why not let users change scene to file with additional arg1 and arg 2 etc.?
Right now the recommendation is to use autoloads, which feels very hacky and messy.
Remember encapsulation.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions