Hello everyone…
I want to know which is the better slate practice.
I am currently working on my game inventory UI. I want to know which of the following practice is better.
When I want to show my inventory to the player, should I recreate the widget every time the player asks to open the inventory. Something similar to what was done in the shooter game
bool AShooterHUD::ShowScoreboard(bool bEnable, bool bFocus);
Or another method I think of doing is toggling the visibility of the slate when the inventory is requested to be opened.
Something like this
ToolTipUI->SetVisibility(EVisibility::Hidden);