Change Font and Format of Floating Messages?

brolol.404 3 weeks ago in Game Creator updated by Marti (Lead Developer) 2 weeks ago 2

Is there a way to change the font and formatting (new line, italic, bold, etc.) of a floating message?

Unity version:
Game Creator version:

The UI Components Module has Actions to change font/format etc for UI Text and I think the floating message is just a UI worldspace canvas. But as it is a temporary message, you will probably need to change the Prefab of the floating message, so you probably cannot change it at runtime, without code.

The Action Pack 1 has Actions for TMP 3d worldspace text that can also be used as floating messages. This can be updated and modified at runtime. Perhaps this would help.


I would just add that Game Creator's Text is based on Unity's Text component, which allows some limited set of rich-text features. You can see the complete collection of tags to add to your text here: https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/StyledText.html