(Ink) Line breaks

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dnr
Posts: 4
Joined: Fri Sep 09, 2022 8:12 pm

(Ink) Line breaks

Post 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?
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: (Ink) Line breaks

Post 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>.
dnr
Posts: 4
Joined: Fri Sep 09, 2022 8:12 pm

Re: (Ink) Line breaks

Post 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?
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: (Ink) Line breaks

Post 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.
Post Reply