Alert Text
-
- Posts: 62
- Joined: Wed Sep 25, 2024 11:26 pm
- Location: New York City
- Contact:
Alert Text
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
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.
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.
-
- Posts: 62
- Joined: Wed Sep 25, 2024 11:26 pm
- Location: New York City
- Contact:
Re: Alert Text
Thanks so much!