void OnTriggerStay2D(Collider2D col) { if (col.CompareTag("Player") && Input.GetButtonDown("Jump")) { npcDialogue.Interact(); } }