UnityEngine.GUILayout.AreaScope.AreaScope C# (CSharp) Method

AreaScope() public method

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect ) : System
screenRect Rect
return System
            public AreaScope(Rect screenRect)
            {
                GUILayout.BeginArea(screenRect);
            }

Same methods

GUILayout.AreaScope::AreaScope ( Rect screenRect, GUIContent content ) : System
GUILayout.AreaScope::AreaScope ( Rect screenRect, GUIContent content, GUIStyle style ) : System
GUILayout.AreaScope::AreaScope ( Rect screenRect, Texture image ) : System
GUILayout.AreaScope::AreaScope ( Rect screenRect, Texture image, GUIStyle style ) : System
GUILayout.AreaScope::AreaScope ( Rect screenRect, string text ) : System
GUILayout.AreaScope::AreaScope ( Rect screenRect, string text, GUIStyle style ) : System
GUILayout.AreaScope