Author Topic: How to make different UI to share one font texture?  (Read 3229 times)

noob22

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 38
    • View Profile
How to make different UI to share one font texture?
« on: July 30, 2012, 10:28:11 PM »
I make a font which size is 1m.
I have many UI assetbundles in my game.
Of course, I dont want to the font in every UI assetbundle.
Any suggestion?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to make different UI to share one font texture?
« Reply #1 on: July 31, 2012, 12:44:31 AM »
Create a separate asset bundle for the font, and use a reference atlas for your UI. Set the reference to be your dynamically loaded font.