Version: 2018.3 (switch to 2019.1)
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: