var clipping : TextClipping
Description描述
What to do when the contents to be rendered is too large to fit within the area given.
当渲染的内容太大而不能匹配给定的区域内时,使用这个。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void OnGUI() {
if (GUI.skin.customStyles.Length > 0)
Debug.Log(GUI.skin.customStyles[0].clipping);
}
}