Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

GUIStyle.CalcScreenSize

Switch to Manual
public Vector2 CalcScreenSize(Vector2 contentSize);

Description

Calculate the size of an element formatted with this style, and a given space to content.

Did you find this page useful? Please give it a rating: