Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

EditorGUILayout.DelayedFloatField

Предложить изменения

Успех!

Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.

Закрыть

Ошибка внесения изменений

По определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.

Закрыть

Отменить

Руководство
public static function DelayedFloatField(value: float, params options: GUILayoutOption[]): float;
public static float DelayedFloatField(float value, params GUILayoutOption[] options);
public static function DelayedFloatField(value: float, style: GUIStyle, params options: GUILayoutOption[]): float;
public static float DelayedFloatField(float value, GUIStyle style, params GUILayoutOption[] options);
public static function DelayedFloatField(label: string, value: float, params options: GUILayoutOption[]): float;
public static float DelayedFloatField(string label, float value, params GUILayoutOption[] options);
public static function DelayedFloatField(label: string, value: float, style: GUIStyle, params options: GUILayoutOption[]): float;
public static float DelayedFloatField(string label, float value, GUIStyle style, params GUILayoutOption[] options);
public static function DelayedFloatField(label: GUIContent, value: float, params options: GUILayoutOption[]): float;
public static float DelayedFloatField(GUIContent label, float value, params GUILayoutOption[] options);
public static function DelayedFloatField(label: GUIContent, value: float, style: GUIStyle, params options: GUILayoutOption[]): float;
public static float DelayedFloatField(GUIContent label, float value, GUIStyle style, params GUILayoutOption[] options);

Параметры

label @param label Необязательный текст для отображения перед полем ввода.
value @param value Значение для редактирования.
style @param style Необязательный стиль GUIStyle.
options @param options Настраиваемый список настроек слоя, который определяет дополнительные свойства слоя. Любые значения, переданные здесь, будут переопределять настройки, определенный стилем. See Also: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.

Возврат значений

float The value entered by the user. Note that the return value will not change until the user has pressed enter or focus is moved away from the float field.

Описание

Создает поле Center & Extents для ввода границ Bounds.

Similar to EditorGUILayout.FloatField but will not return the new value until the user has pressed enter or focus is moved away from the float field.


public static function DelayedFloatField(property: SerializedProperty, label: GUIContent, params options: GUILayoutOption[]): void;
public static void DelayedFloatField(SerializedProperty property, GUIContent label, params GUILayoutOption[] options);
public static function DelayedFloatField(property: SerializedProperty, params options: GUILayoutOption[]): void;
public static void DelayedFloatField(SerializedProperty property, params GUILayoutOption[] options);

Параметры

property @param value Цвет для редактирования.
label @param label Необязательный текст для отображения перед полем ввода.
options @param options Настраиваемый список настроек слоя, который определяет дополнительные свойства слоя. Любые значения, переданные здесь, будут переопределять настройки, определенный стилем. See Also: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.

Описание

Создает поле Center & Extents для ввода границ Bounds.

Similar to EditorGUILayout.FloatField but will not return the new value until the user has pressed enter or focus is moved away from the float field.