Z
Z
Zefirot2021-08-27 16:43:30
Unity
Zefirot, 2021-08-27 16:43:30

How to replace words with pictures?

Please tell me how to replace words with pictures.
That is, for example

TextField.GetComponent<Text>().text = "Text text [Img1] Text text [Img2] text";

displayed the text in the text field and for the place [Img1] the pictures I needed, while the text did not move out and was not transferred.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2021-08-27
@Zefirot

Use TextMeshPro - he knows how

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question