Page 1 of 1

(Ink) Line breaks

Posted: Sun Nov 06, 2022 1:34 am
by dnr
Ink supports like breaks using <br> but once in dialogue system those tags are just appended to the original dialog text. Is there another way of achieving a line break in dialogue system + ink?

Re: (Ink) Line breaks

Posted: Sun Nov 06, 2022 8:18 am
by Tony Li
Hi,

I'll look into supporting <br> for line breaks for UI Text. It shouldn't be an issue. If your dialogue UI uses TextMesh Pro, it should already respect <br>.

Re: (Ink) Line breaks

Posted: Mon Nov 07, 2022 5:02 pm
by dnr
Much appreciated. If I wanted to convert a standard (non TMP) subtitle area to a TMP one, is there any easy way to make that conversion?

Re: (Ink) Line breaks

Posted: Mon Nov 07, 2022 6:59 pm
by Tony Li
Hi,

The instructions are here: TextMesh Pro Support.

The Ink integration in DS version 2.2.33 (releasing tomorrow) now automatically translates <br> to line breaks.