DelayedDoubleField
Makes a delayed text field for entering doubles.
Read time 2 minutesLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
DelayedDoubleField(Rect, double, GUIStyle)
Makes a delayed text field for entering doubles.
public static double DelayedDoubleField(Rect position, double value, GUIStyle style)
Parameters
Returns
Type | Description |
|---|---|
| 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 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.
public static double DelayedDoubleField(Rect position, string label, double value, GUIStyle style)
Parameters
Returns
Type | Description |
|---|---|
| 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 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.
public static double DelayedDoubleField(Rect position, GUIContent label, double value, GUIStyle style)
Parameters
Rectangle on the screen to use for the double field.
Optional label to display in front of the double field.
The value to edit.
Returns
Type | Description |
|---|---|
| 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 but will not return the new value until the user has pressed enter or focus is moved away from the double field.