void Update() { if (!levController.isInputEnabled || !levController.isGrounded) { return; } if (Input.GetKeyDown(KeyCode.E)) { if (heldPickable) { drop(); } else { pick(); } } if (Input.GetKeyDown(KeyCode.F)) { use(); } if (isHoldingPickable && !heldPickable) { levController.stopCarry(0.5f); isHoldingPickable = false; } }