Version: 2022.1
언어: 한국어

EditorGUILayout

class in UnityEditor

매뉴얼로 전환

설명

Auto laid out version of EditorGUI.

정적 함수

BeginBuildTargetSelectionGroupingBegin a build target grouping and get the selected BuildTargetGroup back.
BeginFadeGroupBegins a group that can be be hidden/shown and the transition will be animated.
BeginFoldoutHeaderGroupMake a label with a foldout arrow to the left of it.
BeginHorizontalBegin a horizontal group and get its rect back.
BeginScrollViewBegin an automatically laid out 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.
BoundsFieldMake Center & Extents field for entering a Bounds.
BoundsIntFieldMake Position & Size field for entering a BoundsInt.
ColorFieldMake a field for selecting a Color.
CurveFieldMake a field for editing an AnimationCurve.
DelayedDoubleFieldMake a delayed text field for entering doubles.
DelayedFloatFieldMake a delayed text field for entering floats.
DelayedIntFieldMake a delayed text field for entering integers.
DelayedTextFieldMake a delayed text field.
DoubleFieldMake a text field for entering double values.
DropdownButtonMake a button that reacts to mouse down, for displaying your own dropdown content.
EditorToolbarMakes a toolbar populated with the specified collection of editor tools.
EditorToolbarForTargetMakes a toolbar populated with the collection of editor tools that match the EditorToolAttribute of the target object.
EndBuildTargetSelectionGroupingClose a group started with BeginBuildTargetSelectionGrouping.
EndFadeGroupCloses a group started with BeginFadeGroup.
EndFoldoutHeaderGroupCloses a group started with BeginFoldoutHeaderGroup.
EndHorizontalClose a group started with BeginHorizontal.
EndScrollViewEnds a scrollview started with a call to BeginScrollView.
EndToggleGroupClose a group started with BeginToggleGroup.
EndVerticalClose a group started with BeginVertical.
EnumFlagsFieldDisplays a menu with an option for every value of the enum type when clicked.
EnumPopupMake an enum popup selection field.
FloatFieldMake a text field for entering float values.
FoldoutMake a label with a foldout arrow to the left of it.
GetControlRectGet a rect for an Editor control.
GradientFieldMake a field for editing a Gradient.
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.
LinkButtonMake a clickable link label.
LongFieldMake a text field for entering long integers.
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.
PasswordFieldMake a text field where the user can enter a password.
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.
RectIntFieldMake an X, Y, W & H field for entering a RectInt.
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.
ToolContextToolbarMakes a toolbar populated with the specified collection of editor tool contexts.
ToolContextToolbarForTargetMakes a toolbar populated with the collection of EditorToolContext that match the EditorToolContextAttribute.targetType of the target object.
Vector2FieldMake an X & Y field for entering a Vector2.
Vector2IntFieldMake an X & Y integer field for entering a Vector2Int.
Vector3FieldMake an X, Y & Z field for entering a Vector3.
Vector3IntFieldMake an X, Y & Z integer field for entering a Vector3Int.
Vector4FieldMake an X, Y, Z & W field for entering a Vector4.