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

AreaScope() public method

Create a new AreaScope and begin the corresponding Area.

public AreaScope ( Rect screenRect, Texture image, GUIStyle style ) : System
screenRect Rect
image Texture Optional texture to display in the 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, Texture image, GUIStyle style)
            {
                GUILayout.BeginArea(screenRect, image, style);
            }

Same methods

GUILayout.AreaScope::AreaScope ( Rect screenRect ) : System
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, string text ) : System
GUILayout.AreaScope::AreaScope ( Rect screenRect, string text, GUIStyle style ) : System
GUILayout.AreaScope