# DelayedDoubleField

> Makes a delayed text field for entering doubles.

## Definition

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

## DelayedDoubleField(Rect, double, GUIStyle)

Makes a delayed text field for entering doubles.

```csharp
public static double DelayedDoubleField(Rect position, double value, GUIStyle style)
```

### Parameters

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

### Returns

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

### Remarks

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

## DelayedDoubleField(Rect, string, double, GUIStyle)

Makes a delayed text field for entering doubles.

```csharp
public static double DelayedDoubleField(Rect position, string label, double value, GUIStyle style)
```

### Parameters

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

### Returns

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

### Remarks

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

## DelayedDoubleField(Rect, GUIContent, double, GUIStyle)

Makes a delayed text field for entering doubles.

```csharp
public static double DelayedDoubleField(Rect position, GUIContent label, double value, GUIStyle style)
```

### Parameters

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

### Returns

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

### Remarks

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