public TextClipping clipping ;

描述

如何处理要渲染的内容太大而无法放入给定区域的情况。

using UnityEngine;

public class Example : MonoBehaviour { // Prints how is managed the text when the contents rendered // are too large to fir in the area given.

void OnGUI() { Debug.Log(GUI.skin.button.clipping); } }