Change size of Response buttons

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Arctichorse9
Posts: 76
Joined: Wed Sep 25, 2024 11:26 pm
Location: New York City
Contact:

Change size of Response buttons

Post by Arctichorse9 »

Hi. I would like to change the size of the Response buttons in the Basic Dialogue UI., for example, three answers to a riddle. I can resize them but then when I click on them nothing happens. If I don't resize them, they work as normally.

Any help is much appreciated. Thanks.
User avatar
Tony Li
Posts: 23259
Joined: Thu Jul 18, 2013 1:27 pm

Re: Change size of Response buttons

Post by Tony Li »

Hi,

I recommend watching the first of the dialogue UI videos to get an overview of how to customize dialogue UIs. Then duplicate the Basic Standard Dialogue UI prefab or whatever prefab you want to start with as a base. Move your duplicate to your own folder, and assign it to the Dialogue Manager's Display Settings > Dialogue UI.

Then inspect its Response Button Template. To increase the size of the response text, increase the child Response Text's Font Size. Or switch to TextMesh Pro first if you want to use TextMesh Pro, then set font size.
Arctichorse9
Posts: 76
Joined: Wed Sep 25, 2024 11:26 pm
Location: New York City
Contact:

Re: Change size of Response buttons

Post by Arctichorse9 »

Thanks so much
Post Reply