Hi, I have some issues with dragging and dropping from one inventory to another.
This is what I'm trying to do:
- In the Lobby, the player buys items in the Shop.
- Bought items go into the player’s inventory, but are not equippable.
- Before starting the game, the player can select from their inventory what they want to equip (drag and drop from one item collection to another).
- Once the game starts, the selected items are equipped.
I'm stuck in the 3rd point.
From the shop, the items go to a ItemCollection from the player just to store items the player buys, but are not equippable yet. I created 2 inventory grids; one with the player's store, and another one for another ItemCollection to drop from the player's store.
But I can't figure out how they can drop, even though both inventory grids have the drop handler and drag handler. I can drag and drop between containers from the same ItemCollection but not from the other one.
This is what I'm trying to do:
- In the Lobby, the player buys items in the Shop.
- Bought items go into the player’s inventory, but are not equippable.
- Before starting the game, the player can select from their inventory what they want to equip (drag and drop from one item collection to another).
- Once the game starts, the selected items are equipped.
I'm stuck in the 3rd point.
From the shop, the items go to a ItemCollection from the player just to store items the player buys, but are not equippable yet. I created 2 inventory grids; one with the player's store, and another one for another ItemCollection to drop from the player's store.
But I can't figure out how they can drop, even though both inventory grids have the drop handler and drag handler. I can drag and drop between containers from the same ItemCollection but not from the other one.

