Version: 2022.2
言語: 日本語
public bool wordWrap ;

説明

テキストは折り返しする必要があるか。

これは任意のテキストがコントロールの幅に収まるように折り返しを制約します。

using UnityEngine;

public class Example : MonoBehaviour { void OnGUI() { GUI.skin.button.wordWrap = true; } }