Version: 5.5

EditorGUILayout

class in UnityEditor

Switch to Manual

Description

Auto-layouted version of EditorGUI.

Static Functions

BeginFadeGroupBegins a group that can be be hidden/shown and the transition will be animated.
BeginHorizontalBegin a horizontal group and get its rect back.
BeginScrollViewBegin an automatically layouted scrollview.
BeginToggleGroupBegin a vertical group with a toggle to enable or disable all the controls within at once.
BeginVerticalBegin a vertical group and get its rect back.
BoundsFieldСоздает поле Center & Extents для ввода границ Bounds.
ColorFieldСоздает поле для выбора цвета Color
CurveFieldСоздает поле для редактирования анимационной кривой AnimationCurve.
DelayedDoubleFieldСоздает поле Center & Extents для ввода границ Bounds.
DelayedFloatFieldСоздает поле Center & Extents для ввода границ Bounds.
DelayedIntFieldСоздает поле для ввода значений типа float.
DelayedTextFieldMake a delayed text field.
DoubleFieldСоздает поле Center & Extents для ввода границ Bounds.
EndFadeGroupCloses a group started with BeginFadeGroup.
EndHorizontalЗакрывает группу, начатую с BeginHorizontal.
EndScrollViewЗаканчивает обработку scrollview, которая началась вызовом функции BeginScrollView.
EndToggleGroupClose a group started with BeginToggleGroup.
EndVerticalЗакрывает группу, начатую с BeginVertical.
EnumMaskFieldСоздает поле для масок на основе перечисления enum.
EnumMaskPopupСоздает всплывающий список на основе перечисления enum.
EnumPopupСоздает всплывающий список на основе перечисления enum.
FloatFieldMake a text field for entering float values.
FoldoutСоздаёт текст с раскрывающейся стрелкой слева.
GetControlRectGet a rect for an Editor control.
HelpBoxMake a help box with a message to the user.
InspectorTitlebarMake an inspector-window-like titlebar.
IntFieldMake a text field for entering integers.
IntPopupMake an integer popup selection field.
IntSliderMake a slider the user can drag to change an integer value between a min and a max.
LabelFieldMake a label field. (Useful for showing read-only info.)
LayerFieldMake a layer selection field.
LongFieldСоздает поле Center & Extents для ввода границ Bounds.
MaskFieldMake a field for masks.
MinMaxSliderMake a special slider the user can use to specify a range between a min and a max.
ObjectFieldMake a field to receive any object type.
PasswordFieldСоздает текстовое поле, в которое пользователь может ввести пароль.
PopupMake a generic popup selection field.
PrefixLabelMake a label in front of some control.
PropertyFieldMake a field for SerializedProperty.
RectFieldMake an X, Y, W & H field for entering a Rect.
SelectableLabelMake a selectable label field. (Useful for showing read-only info that can be copy-pasted.)
SliderMake a slider the user can drag to change a value between a min and a max.
SpaceMake a small space between the previous control and the following.
TagFieldMake a tag selection field.
TextAreaMake a text area.
TextFieldMake a text field.
ToggleMake a toggle.
ToggleLeftMake a toggle field where the toggle is to the left and the label immediately to the right of it.
Vector2FieldMake an X & Y field for entering a Vector2.
Vector3FieldMake an X, Y & Z field for entering a Vector3.
Vector4FieldMake an X, Y, Z & W field for entering a Vector4.