void Update() { if (canInteractWithNPC) { if (Input.GetKeyDown(KeyCode.X)) { NPCEvents.InitiateQuest(); } } }