Version: 2017.1

GUIStyle.CalcMinMaxWidth

Cambiar al Manual
public void CalcMinMaxWidth (GUIContent content, out float minWidth, out float maxWidth);

Descripción

Calculate the minimum and maximum widths for this style rendered with content.

Used by GUILayout to handle word-wrapping elements correctly.