Version: 2022.3
언어: 한국어
public Font font ;

설명

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