Hey guys,
I have a costum menu I made for my project. It contains a main window that has it's own sub-windows, like item description,
item stats, inventory list, etc. For better control I tried adding the sub-windows as children to the main window. I thought as long as the parent of a window is SceneManager._scene._windowLayer, the children of that window are also considered "related".
But, when I do that the children (sub-windows) I add to the main window are not shown. They exist as Children in the main window, the children windows are initialized and have all the right stats, but just don't show on the menu scene. When I add the sub-windows as children (through the addWindow() method) to the menu scene, they are visible again.
I am pretty sure that windows and their children should all be shown correctly in a scene. What am I missing?
Thanks in advance for your help.
I have a costum menu I made for my project. It contains a main window that has it's own sub-windows, like item description,
item stats, inventory list, etc. For better control I tried adding the sub-windows as children to the main window. I thought as long as the parent of a window is SceneManager._scene._windowLayer, the children of that window are also considered "related".
But, when I do that the children (sub-windows) I add to the main window are not shown. They exist as Children in the main window, the children windows are initialized and have all the right stats, but just don't show on the menu scene. When I add the sub-windows as children (through the addWindow() method) to the menu scene, they are visible again.
I am pretty sure that windows and their children should all be shown correctly in a scene. What am I missing?
Thanks in advance for your help.