EditorGUI.BoundsIntField

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

EditorGUI.BoundsIntField

Объявление

public static BoundsInt BoundsIntField(Rect position, BoundsInt value);

public static BoundsInt BoundsIntField(Rect position, string label, BoundsInt value);

public static BoundsInt BoundsIntField(Rect position, GUIContent label, BoundsInt value);

Параметры

position Прямоугольник на экране использовать для поля.
label Необязательная метка для отображения над полем.
value Значение для редактирования.

Возвращает

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

Описание

Создает поля Position и Size для ввода BoundsInt.

См. так же Extending the editor.

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