/* * If player interacts with an interact-able object, performs the object's purpose */ void Update() { if (_canInteract && Input.GetKeyDown(engage)) { _interactObj.PerformPurpose(_inventory); } }