Unity Set Global UI Text Font by GlassToeStudio - 2

GUIExtensions

Allow the user to 'change' the default font in Unity from "Arial" to a font of their liking.

Unknown VersionMIT LicenseUpdated 2 years agoCreated on June 18th, 2018
Go to source

Unity-Set-Global-UI-Text-Font



This package will allow one to select a default global font for Unity UI Text. The Global Font can be selected from a custom editor window. When a new UI Text (even if the Text is a Child, ex: Button) it will have the font that was set by the user, and not the default Arial font.

Getting Started


  • Select a Font that is in your project to be the Global Font.

  • This can be set from "Global Font/Settings"

  • Now, when a UI Text is added, it will have this font.

    Additional Options

    • Button to Reset global font to default (Arial)
    • Button to Change the font of all UI Text in the scene at once
*Useful if you already have a bunch of Text in a scene, and decide to use a new font*

Add New Text With Your Font:

CreateNewText.gif

Update All Text

ChangeAllFontsInScene.gif

Prerequisites


Must have Unity installed.

Tested with the June 15th release of Unity 2018.1.5f1

Tested with Unity 5.6 as well

If contributing, be sure to have git installed.

Installing


To use the project, all you need is to Download the latest release and import the package into your Unity project.

Alternately you can Clone the repo using:

git clone https://github.com/GlassToeStudio/Unity-Set-Global-UI-Text-Font.git

Contributing


Open source repo!. Feel free to create a fork and make contributions!

Contributing guidelines can be found here

Authors


License


This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments


  • Inspiration by Discord user @Dibbie#0408
Show all projects by GlassToeStudio