- Home /
Image in label + string..?
Hello
I want to create a MMORPG, but I want to use image in label with string. Everything in a single label, not with GUILayout... :(
E.g.: String: "That item costs 200 #gold#"
Display: That item costs 200
I know that's very hard to render an image in label...But I need it fast.
Kind regards, Zetsu
Comment
Answer by Graham-Dunnett · May 21, 2014 at 08:37 PM
Create a font that has the images as glyphs, then map your #gold#
string into the character for gold in your font.
Your answer
Follow this Question
Related Questions
GUI text label using variable values and text 1 Answer
How do I make my label fit its text? 2 Answers
Need help (String) 2 Answers
Reading integer value from specified character(s) on text line? 2 Answers