Display Controller Glyph In-Line

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
TrisagionGames
Posts: 4
Joined: Wed Jun 14, 2023 12:01 pm

Display Controller Glyph In-Line

Post by TrisagionGames »

Piggybacking off this thread: https://pixelcrushers.com/phpbb/viewtop ... ton#p38787, I was wondering if it was possible to display a controller glyph in-line?

E.g.: "Press [A] to Jump", which could dynamically change to "Press [Space] to Jump" if player switched to keyboard.

The dynamic changing I know was covered in the thread above, but not displaying glyphs in-line (that I could tell).

Thanks for your help!
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: Display Controller Glyph In-Line

Post by Tony Li »

Hi,

Are your [A] and [Space] glyphs intended to be images? If so, use TextMesh Pro and <sprite> tags.
TrisagionGames
Posts: 4
Joined: Wed Jun 14, 2023 12:01 pm

Re: Display Controller Glyph In-Line

Post by TrisagionGames »

Yes that is correct, thank you!
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: Display Controller Glyph In-Line

Post by Tony Li »

Glad to help! BTW, to enable the Dialogue System's support for TextMesh Pro, see here.
Post Reply