Setting up an inventory before the start

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.

As I understand it, what you’re going to want to do is make the inventory always exist, so, just write it like you would write anything else. However, only SHOW it when you press tab. Whether you want to achieve the displaying of the inventory via GUI or another camera all together is another story, and totally up to you to decide, but both can be initially off (or keep it on and turn it off with onAwake(), if it makes it easier for you to work with in the editor)

I hope this helps!

-Cole