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.
-
Select a Font that is in your project to be the Global Font.
-
This can be set from "Global Text System/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:
Select any property to override via the custom editor:
Update All Text
See changes in real-time
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.
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/UnityGlobalTextSystem.git
Open source repo!. Feel free to create a fork and make contributions!
Contributing guidelines can be found here
- GlassToeStudio Glass Toe Studio
This project is licensed under the MIT License - see the LICENSE file for details
- Inspiration by Discord user @Dibbie#0408