Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GUIStyle.CalcHeight

Switch to Manual
public function CalcHeight(content: GUIContent, width: float): float;

Parameters

Description

How tall this element will be when rendered with content and a specific width.