Version: 2017.1
public Font font ;

Description

Шрифт по умолчанию для использования во всех стилях.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Font f; void OnGUI() { if (!f) { Debug.LogError("No font found, assign one in the inspector."); return; } GUI.skin.font = f; GUILayout.Label("This is a label with the font"); GUILayout.Button("And this is a button"); } }