VerticalScope
Create a new VerticalScope and begin the corresponding vertical group.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
VerticalScope(GUILayoutOption[])
Create a new VerticalScope and begin the corresponding vertical group.
public VerticalScope(params GUILayoutOption[] options)
Parameters
An optional list of layout options that specify extra layouting properties. Any values passed in here will override settings defined by the .
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
styleAdditional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
VerticalScope(GUIStyle, GUILayoutOption[])
Create a new VerticalScope and begin the corresponding vertical group.
public VerticalScope(GUIStyle style, params GUILayoutOption[] options)
Parameters
The style to use for background image and padding values. If left out, the background is transparent.
An optional list of layout options that specify extra layouting properties. Any values passed in here will override settings defined by the .
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.
styleAdditional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.