Lets just think of things without script here. Let’s say I have an inventory script that keeps the inventory deactivated until I press tab. This poses a problem because say you have starter items, they won’t appear until you press tab to activate the script. So if say someone kills you then that loot won’t show up in your inventory.
I need a way to make sure any loaded data or data I preset into the inventory will load into it before I press tab. I don’t know what to do. Could I activate and deactivate the inventory on Awake() or should I put the inventory under a 2nd camera that I can use to show the inventory at certain times without having to deactivate the inventory canvas.
Any input on the problem is greatly appreciated. No example code is needed ,but would be appreciated.