I’m trying to expand on BoardToBits’s XML demonstration by having pickup which add to the current item list.
My problem is that while it does update the list, all of the new items made this way will become equal to the most recent pickup.
Attached are the 2 scripts I added: “PickupItem.cs” goes on the player and “Pickup.cs” goes on the Pickups. Remember to add the “pickup” tag to the pickups as well.
2869516–210256–PickupItem.cs (1.04 KB)
2869516–210257–Pickup.cs (375 Bytes)