GUIStyle.CalcScreenSize

Switch to Manual

Declaration

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: