I wanted to create an "Image" variable with a link to an image, and inside the conversational block, in the "Dialogue text" field, enter "[var=image] to output an image inside the text block. Is this possible? Or there is another way. In this case, I did not understand how to create a "File" variable and specify the path to the desired image.
What i want (attached pictures):
how can I add an image to the dialog
how can I add an image to the dialog
- Attachments
-
- image-1.png (72.22 KiB) Viewed 212 times
-
- image-2.png (9.13 KiB) Viewed 212 times
Re: how can I add an image to the dialog
Hi,
The easiest way is to set up your dialogue UI with TextMesh Pro, and then use a <sprite> tag in your dialogue text.
The easiest way is to set up your dialogue UI with TextMesh Pro, and then use a <sprite> tag in your dialogue text.