F
F
FC182019-11-16 20:03:29
Unity
FC18, 2019-11-16 20:03:29

Controlling complex UI text via script?

Periodically, you need to resort to the method of managing the UI Text through the script, for this I use
GetComponent().text = "Desired text";
However, this does not work if the text is complex and contains dots and quotation marks.
How it is possible to reformulate a command under such text?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question