- Home /
Embed icons in GUI text??
The game I'm making has a lot of on-screen text to explain what different character attacks do. I would like to replace certain keywords in the text with icons, similar to how emoticons work. For example, if "HP" is in the text, a heart would be drawn. I want the icons to be multicolored, so creating a special font won't really work. Is this possible with Unity?
it's possible FlyingText3D would solve most of your problems
Can you make texture? Then ins$$anonymous$$d of drawing a text you draw a tecture.
While I would naturally recommend FlyingText3D in general ;), I don't see how it would work in this context.
Answer by Eric5h5 · Aug 09, 2012 at 11:41 AM
You can make a custom bitmap font. For example, with this old game that I did, the award thingies in the bottom-right are actually characters displayed with GUIText. (They're also displayed in another context mixed with text, which is why I did it that way.) That only works with actual GUIText objects though, not OnGUI code, since OnGUI can't use bitmap fonts, only TrueType fonts.
Your answer