Converting To Text Mesh Pro Offset Text

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
n_hagialas
Posts: 36
Joined: Wed May 03, 2017 4:34 pm

Converting To Text Mesh Pro Offset Text

Post by n_hagialas »

Hey Tony,

We are trying to convert the Basic Standard Dialogue UI to utilize Text Mesh Pro and manipulate the panels to be where we want. We've successfully put everything into place, but for some reason every time a choice is spawned when playing the game and starting a dialogue, the first response always spawns off centered. When viewing the Response Button template, everything looks fine. This is only happening when applying the Text Mesh pro to the Response Text field and playing the game.

Any advice on how to fix this would be great! I've attached some images to show what I'm talking about.
Attachments
responsebuttontemplate.JPG
responsebuttontemplate.JPG (85.1 KiB) Viewed 272 times
offset text.JPG
offset text.JPG (46.56 KiB) Viewed 272 times
User avatar
Tony Li
Posts: 21959
Joined: Thu Jul 18, 2013 1:27 pm

Re: Converting To Text Mesh Pro Offset Text

Post by Tony Li »

Hi,

Is anything assigned to the StandardUIMenuPanel's Buttons list?

It looks like you're instantiating buttons from the Button Template. If this is the case, try making the Buttons list empty.
n_hagialas
Posts: 36
Joined: Wed May 03, 2017 4:34 pm

Re: Converting To Text Mesh Pro Offset Text

Post by n_hagialas »

Hey Tony,

I was unaware of the button list and was using the auto generated button with the template. I am now using my own panel with pre-set buttons and hooked them up. I also tried just deleting my dialogue node and re adding it. All of those things fixed the issue. Thanks!
User avatar
Tony Li
Posts: 21959
Joined: Thu Jul 18, 2013 1:27 pm

Re: Converting To Text Mesh Pro Offset Text

Post by Tony Li »

Glad to help!
Post Reply