Example #1
0
 private void OntTriggerStay2D()
 {
     if (Input.GetKeyDown(KeyCode.X))
     {
         Debug.Log("I feel you.");
         textBox.DisplayOneLine("You got it");
         Destroy(this);
     }
 }