Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LongField

Makes a text field for entering long integers.
Read time 1 minuteLast updated 5 days ago

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