ドキュメント

Unity Engine

Unity Engine

LongField

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

Definition

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

LongField(Rect, long, GUIStyle)

Makes a text field for entering long integers.
public static long LongField(Rect position, long value, GUIStyle style)

Parameters

position

Rectangle on the screen to use for the long field.

value

The value to edit.

Optional GUIStyle.

Returns

Type

Description

longThe value entered by the user.

Remarks

LongField(Rect, string, long, GUIStyle)

Makes a text field for entering long integers.
public static long LongField(Rect position, string label, long value, GUIStyle style)

Parameters

position

Rectangle on the screen to use for the long field.

label

Optional label to display in front of the long field.

value

The value to edit.

Optional GUIStyle.

Returns

Type

Description

longThe value entered by the user.

Remarks

LongField(Rect, GUIContent, long, GUIStyle)

Makes a text field for entering long integers.
public static long LongField(Rect position, GUIContent label, long value, GUIStyle style)

Parameters

position

Rectangle on the screen to use for the long field.

Optional label to display in front of the long field.

value

The value to edit.

Optional GUIStyle.

Returns

Type

Description

longThe value entered by the user.

Remarks