Prefab Item connected to 4 slots Inventory array in Canvas Panel which cannot be assigned to prefab slots array
Hi, Ive got a campfire Prefab Item problem. On the canvas is a panel with 4 slots for the campfire slots to cook in. A campfire inventory panel. If I try to add a public slot array and assign the slots manually to the campfire prefab by dragging the item into the scene view, Unity wont let me assign the slots to the prefab. I have accessed the slots with a private slots array and a for slots loop which works with 1 campfire. The problem is that you should be able to craft as many campfires as you need in the game which leaves me stuck. I need to be able to open a campfire which my player is within range and update whats in the slots of the campfire slots associated with each individual campfire item in the campfire inventory panel. If anyone has any ideas to address these issues would be appreciated.