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
Returns
Type | Description |
|---|---|
| BoundsInt | The value entered by the user. |
Remarks
See also Extending the editor.
BoundsIntField(Rect, string, BoundsInt)
Makes Position and Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(Rect position, string label, BoundsInt value)
Parameters
Returns
Type | Description |
|---|---|
| BoundsInt | The value entered by the user. |
Remarks
See also Extending the editor.
BoundsIntField(Rect, GUIContent, BoundsInt)
Makes Position and Size field for entering a BoundsInt.
public static BoundsInt BoundsIntField(Rect position, GUIContent label, BoundsInt value)
Parameters
Rectangle on the screen to use for the field.
Optional label to display above the field.
The value to edit.
Returns
Type | Description |
|---|---|
| BoundsInt | The value entered by the user. |
Remarks
See also Extending the editor.