H
Hugtality
Guest
I'm about to start work on a pop-up UI that the player can bring up mid-game with a button press to change their weapons. When called upon, the inventory needs to appear on top of the game, needs to be interactive, and its contents need to change depending on which weapons the player has acquired.
Would the most efficient way to do this be through creating objects or drawing GUI?
My primary thought was to have an inventory object that's just the background, as well as individual objects for every item appearing in the inventory that can get changed out as needed. Then, when called upon, the inventory creates the background object, then creates an object for every item that appears in it and aligns them accordingly.
I'm guessing a method using Draw GUI is also possible, but I'm not super confident with the Draw GUI event as a whole and would only like to use it if its absolutely the best option.
Would the most efficient way to do this be through creating objects or drawing GUI?
My primary thought was to have an inventory object that's just the background, as well as individual objects for every item appearing in the inventory that can get changed out as needed. Then, when called upon, the inventory creates the background object, then creates an object for every item that appears in it and aligns them accordingly.
I'm guessing a method using Draw GUI is also possible, but I'm not super confident with the Draw GUI event as a whole and would only like to use it if its absolutely the best option.