Queries the text of a Text GameObject.
TextGameObject reference
text string associated with the Text GameObject
Error if not a TextGameObject is passed in
const text = create_text('Hello World!');query_text(text); Copy
const text = create_text('Hello World!');query_text(text);
Queries the text of a Text GameObject.