-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Dynamic children during init #637
Comments
Please also find attached the dumb so the issue is related to self.base_mut().add_child(label.clone().upcast()); |
|
|
I feel like the main question is - is it a general pattern in Godot, in regards to GDScript classes? The That said, there are already some development about giving access to the |
thanks for the help and clarification |
Hey,
I'm trying to find out how to dynamically add children to my container during init of the editor so that they are also displayed by the editor initially but it seems not to work.
grid_init.txt
However it works if I move the code to ready and press Run Project.
grid_ready.txt
Based on error of the editor crash it seems that I can not access self.base_mut during init.
Any solution or workaround for that?
Thanks a lot
The text was updated successfully, but these errors were encountered: