Author Topic: Questing adding symbols/emoticons to UIFont  (Read 8002 times)

Paul

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 22
    • View Profile
Questing adding symbols/emoticons to UIFont
« on: December 15, 2016, 10:07:44 PM »
I'm trying to add button icons to our bitmap font, but I'm struggling to figure out how to do it (Using Unity 5.4.1 and NGUI 3.8).

I'm following this tutorial: https://www.youtube.com/watch?v=JbqfK3mU140 but I don't seem to have a "font definition" text file for my font like in the video (my font is part of an atlas).

Also, that video is for an older 2.x version of NGUI and might be out of date? When I attempt to create a glyph, the sprite popup only shows my fonts (I was expecting to be able to choose a png here of the icon).

1) Is it still a manual process to copy the sprites into the bitmap font like in the video? I haven't done that.
2) Should I have some txt file describing my font some where? If so, how do I generate that?

So far the font & atlas has been working perfectly as expected.


http://i.imgur.com/LtCZeec.png

Thanks!

Paul

Paul

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 22
    • View Profile
Re: Questing adding symbols/emoticons to UIFont
« Reply #1 on: December 15, 2016, 10:12:50 PM »
DOH! Just figured it out... need to add the sprites to the font atlas and then they will show up! Sorry!