- Home /
Unicode in New GUI Text Object
I am using Unity 4.6. I am using the new GUI. I have a font that includes some icon type "letters".
I would like to type some of these into the Text inspector in Unity. The font is set for Dynamic and that should allow unicode.
So the question is how do I enter the unicode into the text inspector? I tried putting \uf024, for example, and I just get \uf024 in what is displayed. I don't get the special icon character.
Answer by Eric5h5 · Dec 14, 2014 at 04:47 AM
You can copy and paste from somewhere else. On OS X, the standard alt/shift combos work, which covers the more common characters, but the character palette won't copy characters to the text field, so again copy & paste from elsewhere (TextEdit etc.) works.
You are awesome! I did have to figure out how to turn on the Unicode Hex Input. I am new to OSX, but it didn't take too long to Google it.
Thanks again!
If just found that on my $$anonymous$$ac if I turn on the Unicode Hex Input method in OSX preferences I am able to use this directly in Unity 4.6 in the Text field of the GUI components. I think this is different than the OSX character viewer inserter you were talking about that doesn't allow direct input.