1. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.
  2. Enter the Google Play Indie Games Contest in Europe. Read more about it here.
  3. Unity 5.5 is now released.
  4. Become a closed-alpha partner on the new Facebook games platform. Read more about it here.
  5. Get early access to our Google Daydream Technical preview. Click here for more details!

How to access built in UNITY ARIAL FONT?

Discussion in 'iOS and tvOS' started by iEarthHero1, Oct 27, 2009.

  1. iEarthHero1

    iEarthHero1

    Joined:
    Jul 28, 2009
    Messages:
    301
    Created a GUISkin. Default is UINTY ARIAL FONT. But this is not in the drop down.

    If I replace the UNITY ARIAL FONT but want it back later or want to use it somewhere else, how do I get access to the UNITY ARIAL FONT?

    Thanks.
     
  2. cedric_l

    cedric_l

    Joined:
    Jan 30, 2013
    Messages:
    2
    Hello,

    This code return the default Arial Font:

     
  3. Dmitriy-Yukhanov

    Dmitriy-Yukhanov

    Joined:
    Jul 27, 2012
    Messages:
    574
    You also may use generic version:
    Code (CSharp):
    1. Resources.GetBuiltinResource<Font>("Arial.ttf")
     
    bittarello likes this.