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

AreaScope() public method

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, GUIContent content, GUIStyle style ) : System
screenRect Rect
content GUIContent Optional text, image and tooltip top display for this area.
style GUIStyle The style to use. If left out, the empty GUIStyle (GUIStyle.none) is used, giving a transparent background.
return System
            public AreaScope(Rect screenRect, GUIContent content, GUIStyle style)
            {
                GUILayout.BeginArea(screenRect, content, style);
            }

Same methods

GUILayout.AreaScope::AreaScope ( Rect screenRect ) : System
GUILayout.AreaScope::AreaScope ( Rect screenRect, GUIContent content ) : 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