Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BoundsIntField

Makes Position and Size field for entering a BoundsInt.
Read time 1 minuteLast updated 12 days ago

Definition

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

BoundsIntField(Rect, BoundsInt)

Makes Position and Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(Rect position, BoundsInt value)

Parameters

position

Rectangle on the screen to use for the field.

The value to edit.

Returns

Type

Description

BoundsIntThe value entered by the user.

Remarks

BoundsIntField(Rect, string, BoundsInt)

Makes Position and Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(Rect position, string label, BoundsInt value)

Parameters

position

Rectangle on the screen to use for the field.

label

Optional label to display above the field.

The value to edit.

Returns

Type

Description

BoundsIntThe value entered by the user.

Remarks

BoundsIntField(Rect, GUIContent, BoundsInt)

Makes Position and Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(Rect position, GUIContent label, BoundsInt value)

Parameters

position

Rectangle on the screen to use for the field.

Optional label to display above the field.

The value to edit.

Returns

Type

Description

BoundsIntThe value entered by the user.

Remarks