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

HorizontalScope() public method

Create a new HorizontalScope and begin the corresponding horizontal group.

public HorizontalScope ( GUIContent content, GUIStyle style ) : System
content GUIContent Text, image, and tooltip for this group.
style GUIStyle The style to use for background image and padding values. If left out, the background is transparent.
return System
            public HorizontalScope(GUIContent content, GUIStyle style, params GUILayoutOption[] options)
            {
                GUILayout.BeginHorizontal(content, style, options);
            }

Same methods

GUILayout.HorizontalScope::HorizontalScope ( ) : System
GUILayout.HorizontalScope::HorizontalScope ( GUIStyle style ) : System
GUILayout.HorizontalScope::HorizontalScope ( Texture image, GUIStyle style ) : System
GUILayout.HorizontalScope::HorizontalScope ( string text, GUIStyle style ) : System
GUILayout.HorizontalScope