public Font font ;

Descripción

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); } }