GUIStyle.CalcSizefunction CalcSize (content : GUIContent) : Vector2Parameters
ReturnsVector2 - The size of the content rendered with this style. DescriptionCalculate the size of a some content if it is rendered with this style. This function does not take wordwrapping into account. To do that, you need to determine the allocated width and then call CalcHeight to figure out the wordwrapped height. |
