These work pretty much like the normal GUI functions - and also have matching implementations in EditorGUILayout.
actionKey | Is the platform-dependent "action" modifier key held down? (Read Only) |
indentLevel | The indent level of the field labels. |
showMixedValue | Makes the following controls give the appearance of editing multiple different values. |
BeginChangeCheck | Проверяет, был ли изменен какой-либо контрол внутри блока кода. |
BeginDisabledGroup | Создает группу контролов, которые могут быть выключены. |
BeginProperty | Создает обертку для свойства, полезно для создания обычных контролов GUI, работающих с SerializedProperty. |
BoundsField | Makes Center and Extents field for entering a Bounds. |
BoundsIntField | Makes Position and Size field for entering a BoundsInt. |
CanCacheInspectorGUI | Get whether a SerializedProperty's inspector GUI can be cached. |
ColorField | Makes a field for selecting a Color. |
CurveField | Makes a field for editing an AnimationCurve. |
DelayedDoubleField | Makes a delayed text field for entering doubles. |
DelayedFloatField | Makes a delayed text field for entering floats. |
DelayedIntField | Makes a delayed text field for entering integers. |
DelayedTextField | Makes a delayed text field. |
DoubleField | Makes a text field for entering doubles. |
DrawPreviewTexture | Рисует текстуру внутри прямоугольника. |
DrawRect | Draws a filled rectangle of color at the specified position and size within the current editor window. |
DrawTextureAlpha | Рисует альфа-канал текстуры внутри прямоугольника. |
DropdownButton | Makes a button that reacts to mouse down, for displaying your own dropdown content. |
DropShadowLabel | Рисует текст с отбрасываемой тенью. |
EndChangeCheck | Завершает проверку изменений, начатую с BeginChangeCheck (). |
EndDisabledGroup | Завершает выключенную группу, начатую с BeginDisabledGroup. |
EndProperty | Завершает обертку свойства, начатую с BeginProperty. |
EnumFlagsField | Displays a menu with an option for every value of the enum type when clicked. An option for the value 0 with name "Nothing" and an option for the value ~0 (that is, all bits set) with the name "Everything" are always displayed at the top of the menu. The names for the values 0 and ~0 can be overriden by defining these values in the enum type. |
EnumPopup | Makes an enum popup selection field. |
FloatField | Makes a text field for entering floats. |
FocusTextInControl | Переносит фокус клавиатуры к названному текстовому полю и начинает редактирование содержимого. |
Foldout | Makes a label with a foldout arrow to the left of it. |
GetPropertyHeight | Возвращает значение высоты, необходимое для контрола PropertyField. |
HandlePrefixLabel | Makes a label for some control. |
HelpBox | Makes a help box with a message to the user. |
InspectorTitlebar | Makes an inspector-window-like titlebar. |
IntField | Makes a text field for entering integers. |
IntPopup | Makes an integer popup selection field. |
IntSlider | Makes a slider the user can drag to change an integer value between a min and a max. |
LabelField | Makes a label field. (Useful for showing read-only info.) |
LayerField | Makes a layer selection field. |
LongField | Makes a text field for entering long integers. |
MaskField | Makes a field for masks. |
MinMaxSlider | Makes a special slider the user can use to specify a range between a min and a max. |
MultiFloatField | Makes a multi-control with text fields for entering multiple floats in the same line. |
MultiIntField | Makes a multi-control with text fields for entering multiple integers in the same line. |
MultiPropertyField | Makes a multi-control with several property fields in the same line. |
ObjectField | Makes an object field. You can assign objects either by drag and drop objects or by selecting an object using the Object Picker. |
PasswordField | Makes a text field where the user can enter a password. |
Popup | Makes a generic popup selection field. |
PrefixLabel | Makes a label in front of some control. |
ProgressBar | Makes a progress bar. |
PropertyField | Use this to make a field for a SerializedProperty in the Editor. |
RectField | Makes an X, Y, W, and H field for entering a Rect. |
RectIntField | Makes an X, Y, W, and H field for entering a RectInt. |
SelectableLabel | Makes a selectable label field. (Useful for showing read-only info that can be copy-pasted.) |
Slider | Makes a slider the user can drag to change a value between a min and a max. |
TagField | Makes a tag selection field. |
TextArea | Makes a text area. |
TextField | Makes a text field. |
Toggle | Makes a toggle. |
ToggleLeft | Makes a toggle field where the toggle is to the left and the label immediately to the right of it. |
Vector2Field | Makes an X and Y field for entering a Vector2. |
Vector2IntField | Makes an X and Y integer field for entering a Vector2Int. |
Vector3Field | Makes an X, Y, and Z field for entering a Vector3. |
Vector3IntField | Makes an X, Y, and Z integer field for entering a Vector3Int. |
Vector4Field | Makes an X, Y, Z, and W field for entering a Vector4. |