Godot Version
4.7
Hi all.
Sorry a noob here ![]()
I am starting to design a game which is quite UI heavy. After some research it seems the best way to approach this is to create separate scenes for each UI.
In starting out I have just 3 UI scenes:
MainMenuUI
LocationUI
ShopUI
My main scene is named ‘GAME’ and I have added a child node to this called ‘UI’.
Then I have instatiated each of my UI scenes underneath.
So, my ‘GAME’ node2D tree looks like this:
GAME
-UI
- MainMenuUI
- ShopUI
- LocationUI
How do I go about scripting the visibilty of each of the instatiated nodes so only one shows up at once?
I am so sorry if my explanation is poor.
I just need to be able to swap each of the scenes.
Thanks in advance for ANY help!