BoundsIntField
Makes Position and Size field for entering a BoundsInt.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
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.