void OnTriggerEnter2D(Collider2D c) { if (c.tag != "Player") { return; } TextBoxController.CreateTextBoxes(textboxesContents); Destroy(gameObject); }
void OnTriggerEnter2D(Collider2D c) { if (c.tag != "Player") { return; } TextBoxController.CreateTextBoxes(textboxesContents); Destroy(gameObject); }