// ---- PICK UP OBJECTS ---- // // Assign Pick up item to player for pick up public void RecievePickupItemReferences(PickUpItem _pickup, LootBoxPanel _lootPanel) { currentPickupItem = _pickup; if (currentPickupItem.isLootBox) { currentLootBoxPanel = _lootPanel; } }
// Remove pick up item from player pick up public void UnAssignPickUpItemReferences() { currentPickupItem = null; currentLootBoxPanel = null; }