ドキュメント

Unity Engine

Unity Engine

DoubleField

Makes a text field for entering doubles.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

DoubleField(Rect, double, GUIStyle)

Makes a text field for entering doubles.
public static double DoubleField(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.

Remarks

DoubleField(Rect, string, double, GUIStyle)

Makes a text field for entering doubles.
public static double DoubleField(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.

Remarks

DoubleField(Rect, GUIContent, double, GUIStyle)

Makes a text field for entering doubles.
public static double DoubleField(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.

Remarks