文档

Unity Engine

Unity Engine

clipping

What to do when the contents to be rendered is too large to fit within the area given.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public TextClipping clipping { get; set; }

Examples

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