This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
global:fonts [2014/01/09 13:28] Mistermind |
global:fonts [2015/05/15 03:59] (current) Mistermind |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Fonts ====== | ====== Fonts ====== | ||
+ | // | ||
You can save different prefabs storing different font files to your project. This allows you to have custom fonts ready to be used in your project. Click in one of the font prefabs provided for an example. Currently, these examples use GUIText, but you can use other tools (like NGUI) to achieve your desired font effect. | You can save different prefabs storing different font files to your project. This allows you to have custom fonts ready to be used in your project. Click in one of the font prefabs provided for an example. Currently, these examples use GUIText, but you can use other tools (like NGUI) to achieve your desired font effect. | ||
Line 13: | Line 14: | ||
---- | ---- | ||
===== How to create a new font ===== | ===== How to create a new font ===== | ||
- | Inside '' | + | Inside '' |
* Create a new font folder (name it anything you want) and drag your font file here. | * Create a new font folder (name it anything you want) and drag your font file here. | ||
- | * Click on the font and check the Inspector. | + | * Click on the font and check the Inspector. |
* Change the size to your liking. | * Change the size to your liking. | ||
* Click under the little wheel on the top right of the inspector window and click **Create Editable Copy**: | * Click under the little wheel on the top right of the inspector window and click **Create Editable Copy**: | ||
{{ : | {{ : | ||
- | * This will create a copy of this font, a material and a texture to this font with " | + | * This will create a copy of this font, a material and a texture to this font with " |
+ | * (Optional) Using Photoshop, edit the texture as you please (add stroke, change colors, add gradient, etc) | ||
* Click on the texture file and select '' | * Click on the texture file and select '' | ||
* Click on the material file and on the Inspector, select the Shader '' | * Click on the material file and on the Inspector, select the Shader '' |