generate a function for throwing items out of the selected player's inventory slot when the "Q" button is pressed
private void OnPlayerInput(InputValue value) { if (value.isPressed) { if (value.device == InputDevice.Keyboard) { if (value.key == KeyCode.Q) { ThrowItem(); } } } }