EditorGUILayout.RectIntField

Unity · Версия 2020.3 LTS · Scripting · EditorGUILayout

EditorGUILayout.RectIntField

Объявление

public static RectInt RectIntField(RectInt value, params GUILayoutOption[] options);

public static RectInt RectIntField(string label, RectInt value, params GUILayoutOption[] options);

public static RectInt RectIntField(GUIContent label, RectInt value, params GUILayoutOption[] options);

Параметры

label Метка для отображения над полем.
value Значение для редактирования.
options Необязательный список параметров макета, определяющих дополнительные свойства макета. Любые переданные здесь значения переопределяют настройки, заданные стилем.
Смотрите так же: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.

Возвращает

RectInt Значение, введенное пользователем.

Описание

Создаёт поля X, Y, W и H для ввода RectInt.

Обновлено 17 ноября 2026 г.