Alert Text

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

Alert Text

Post by Arctichorse9 »

Hi, Tony. How do I change the margins and text size and color of an Alert? I've tried to follow the doc but am missing something. Thanks for any help!
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alert Text

Post by Tony Li »

Hi,

Edit your dialogue UI and change the Alert Panel. For example, inspect the Alert Panel's Image component and assign a different sprite and/or color. If it has a Layout Group, you can set its Padding values. Then inspect the Alert Text and change its font face, font size, and color. You can also replace it with a TextMesh Pro UI if you want to use TextMesh Pro. In this case, assign the TextMesh Pro UI component to the StandardDialogueUI component's Alert Text field.
Arctichorse9
Posts: 62
Joined: Wed Sep 25, 2024 11:26 pm
Location: New York City
Contact:

Re: Alert Text

Post by Arctichorse9 »

Thanks so much!
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alert Text

Post by Tony Li »

Glad to help!
Post Reply