Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

position

Rectangle on the screen to use for the double field.

value

The value to edit.

Optional GUIStyle.

Returns

Type

Description

doubleThe 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

position

Rectangle on the screen to use for the double field.

label

Optional label to display in front of the double field.

value

The value to edit.

Optional GUIStyle.

Returns

Type

Description

doubleThe 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

position

Rectangle on the screen to use for the double field.

Optional label to display in front of the double field.

value

The value to edit.

Optional GUIStyle.

Returns

Type

Description

doubleThe 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.