//Activates when something enters the trigger collider of the object this is attached to
 private void OnTriggerEnter2D(Collider2D collision)
 {
     if (collision.CompareTag("Player"))                 //if the object that entered is the player
     {
         StartCoroutine(Wait(1));                        //waits for 1 second
         textBox.EnableText();                           //calls EnableText() function in TextBoxManager component of textBox
     }
 }