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

HorizontalScope() public method

Create a new HorizontalScope and begin the corresponding horizontal group.

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

Same methods

GUILayout.HorizontalScope::HorizontalScope ( ) : System
GUILayout.HorizontalScope::HorizontalScope ( GUIContent content, GUIStyle style ) : System
GUILayout.HorizontalScope::HorizontalScope ( GUIStyle style ) : System
GUILayout.HorizontalScope::HorizontalScope ( Texture image, GUIStyle style ) : System
GUILayout.HorizontalScope