Content-Length: 18352 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/GUIStyle-font.html
The font to use for rendering. If null, the default font for the current GUISkin is used instead.
using UnityEngine;
public class Example : MonoBehaviour { // Prints name of the font that button is using.
void OnGUI() { Debug.Log("Font name: " + GUI.skin.button.font.name); } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/GUIStyle-font.html
Alternative Proxies: