Hi,
I need to create a HUD for my game (health bar, minimap, equipped item etc.) that displays over the gameplay. I also need to create a Menu HUD that has Inventory, Crafting, Settings etc. that can be accessed on key press (i.e. Escape key).
Is it better to create a master HUD for this and just show and hide the respective elements depending on whether the game is running or the menu/pause button has been pressed, or should I break them into 2 separate HUDs? I feel the latter is cleaner, but wondering what best practices are for this.
Thanks!