private void OnTriggerEnter2D(Collider2D other) { if (other.CompareTag("Player")) { // interrupt and change the current text in the textboxManager and play it at a new speed. textboxManager.playNewText(textLines, charDelay, lineDelay); // destroy this trigger so it cant be triggered again. Destroy(gameObject); } }