Best way to organize a UI system?

In games like Pokemon for example, or with games with lots of menus, I’m curious as to how one should organize a UI system so that way it’s efficient for either the machine or developer. I’m currently using a system that I made myself, the only one I know how to do or heard of, and that’s making multiple canvas’s. I’ll make a main canvas, and for each subsection I’ll add another canvas, etc etc. Then, to navigate between them, I’ll enable or disable each accordingly. Is this a good way to go about things, or should I do it another way?

Show screenshots of what you are trying to do, people can help better that way…

Making multiple canvases for different dialogs and hiding/showing as necessary is totally fine.

The only warning I’d give is to make sure your game can start no matter what canvases are shown/hidden. In other words, when your game starts or you load a level, make sure you hide all of the canvases and then show the first one you need.

1 Like