Page 1 of 1

Alert Text

Posted: Fri Mar 28, 2025 10:02 pm
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!

Re: Alert Text

Posted: Fri Mar 28, 2025 10:29 pm
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.

Re: Alert Text

Posted: Sat Mar 29, 2025 12:18 pm
by Arctichorse9
Thanks so much!

Re: Alert Text

Posted: Sat Mar 29, 2025 1:01 pm
by Tony Li
Glad to help!