I have a question about which approach I should choose. First I will like to shortly describe the situation:
We have a quick access bar that allows the player to switch current weapon. So the player can switch it anytime he wants.
In game can be 6 players at the same time and each can have 9 quick access slots.
I’m thinking about this 2 approaches:
- Spawn all items in the moment when a player connects them to slots, make only current one visible. The rest will be hidden and disabled tick.
- Assign item class to the slot, and spawn it when the player selects it. Also, destroy the previously selected item.
Which one is better in your opinion?