public void PickItem(ItemPickup itemPickup) { // target = itemPickup; // set destination for CharacterPathfindingController // But now, lets simply add it to inventory right away inventory.AddItem(itemPickup.GetItem()); }
public void PickItem(ItemPickup itemPickup) { // target = itemPickup; // set destination for CharacterPathfindingController // But now, lets simply add it to inventory right away inventory.AddItem(itemPickup.GetItem()); }