# DelayedFloatField

> Makes a delayed text field for entering floats.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

## DelayedFloatField(Rect, float, GUIStyle)

Makes a delayed text field for entering floats.

```csharp
public static float DelayedFloatField(Rect position, float value, GUIStyle style)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): Rectangle on the screen to use for the float field.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The value to edit.**** (\[GUIStyle]\(/engine/6000.0/script-reference/unityengine/guistyle)): Optional [GUIStyle](/engine/6000.0/script-reference/unityengine/guistyle.md).

### Returns

| Type                                                          | Description                                                                                                                                             |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | 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. |

### Remarks

Similar to [EditorGUI.FloatField](/engine/6000.0/script-reference/unityeditor/editorgui/floatfield.md) but will not return the new value until the user has pressed enter or focus is moved away from the float field.

## DelayedFloatField(Rect, string, float, GUIStyle)

Makes a delayed text field for entering floats.

```csharp
public static float DelayedFloatField(Rect position, string label, float value, GUIStyle style)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): Rectangle on the screen to use for the float field.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Optional label to display in front of the float field.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The value to edit.**** (\[GUIStyle]\(/engine/6000.0/script-reference/unityengine/guistyle)): Optional [GUIStyle](/engine/6000.0/script-reference/unityengine/guistyle.md).

### Returns

| Type                                                          | Description                                                                                                                                             |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | 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. |

### Remarks

Similar to [EditorGUI.FloatField](/engine/6000.0/script-reference/unityeditor/editorgui/floatfield.md) but will not return the new value until the user has pressed enter or focus is moved away from the float field.

## DelayedFloatField(Rect, GUIContent, float, GUIStyle)

Makes a delayed text field for entering floats.

```csharp
public static float DelayedFloatField(Rect position, GUIContent label, float value, GUIStyle style)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): Rectangle on the screen to use for the float field.**** (\[GUIContent]\(/engine/6000.0/script-reference/unityengine/guicontent)): Optional label to display in front of the float field.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The value to edit.**** (\[GUIStyle]\(/engine/6000.0/script-reference/unityengine/guistyle)): Optional [GUIStyle](/engine/6000.0/script-reference/unityengine/guistyle.md).

### Returns

| Type                                                          | Description                                                                                                                                             |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | 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. |

### Remarks

Similar to [EditorGUI.FloatField](/engine/6000.0/script-reference/unityeditor/editorgui/floatfield.md) but will not return the new value until the user has pressed enter or focus is moved away from the float field.

## DelayedFloatField(Rect, SerializedProperty, GUIContent)

Makes a delayed text field for entering floats.

```csharp
public static void DelayedFloatField(Rect position, SerializedProperty property, GUIContent label)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): Rectangle on the screen to use for the float field.**** (\[SerializedProperty]\(/engine/6000.0/script-reference/unityeditor/serializedproperty)): The float property to edit.**** (\[GUIContent]\(/engine/6000.0/script-reference/unityengine/guicontent)): Optional label to display in front of the float field. Pass [GUIContent.none](/engine/6000.0/script-reference/unityengine/guicontent/none.md) to hide label.

### Remarks

Similar to [EditorGUI.FloatField](/engine/6000.0/script-reference/unityeditor/editorgui/floatfield.md) but will not return the new value until the user has pressed enter or focus is moved away from the float field.
