private void Update() { if (CanInteract && InputSystem.Interact(playerIndex)) { if (currentCollectble != null && !currentCollectble.IsBeingHeld) { CollectItem(); } else if (currentReceiver != null) { if (currentCollectble != null) { DeliverCollectble(); } else { RemoveItem(); } } } if (InputSystem.Drop(playerIndex) && currentCollectble != null && currentCollectble.IsBeingHeld) { currentCollectble.Drop(); AudioController.Instance.Play(dropAudio, AudioController.SoundType.SoundEffect2D); } }