private void OnTriggerStay2D(Collider2D collision) { if (collision.gameObject.tag == "Player") { IngameUI.Print(message); } }
private void OnTriggerExit2D(Collider2D collision) { if (collision.gameObject.tag == "Player") { IngameUI.Print(""); } }