How to run "createItems" from MenuButton after the constructor of MenuButton. #8661
Unanswered
Myroslav-Bilous
asked this question in
Q&A
Replies: 1 comment
-
Calling |
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
-
Hi. I have a class AudioMenuButton extended from MenuButton, and my method createItems use data from AudioMenuButton like this.settings. But when it is run this.settings is undefined because createItems runs in cunstructor of parent class MenuButton before passing data.
Does anyone know how I can solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions