I've started working on the inventory system for my game.
In the "INVENTORY" layout there are invSlot objects, in which items should appear after creating the object (when we kill the enemy). Well, they will appear, but unfortunately in this way:
When I turn on the Inventory window, unfortunately they are not there, they are only on the layout where the hero is currently located. Would anyone have an idea to force the created items to be on the Inventory layout?
Inventory logic