RectIntField
Makes an X, Y, W, and H field for entering a RectInt.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
RectIntField(Rect, RectInt)
Makes an X, Y, W, and H field for entering a RectInt.
public static RectInt RectIntField(Rect position, RectInt value)
Parameters
Returns
Type | Description |
|---|---|
| RectInt | The value entered by the user. |
RectIntField(Rect, string, RectInt)
Makes an X, Y, W, and H field for entering a RectInt.
public static RectInt RectIntField(Rect position, string label, RectInt value)
Parameters
Returns
Type | Description |
|---|---|
| RectInt | The value entered by the user. |
RectIntField(Rect, GUIContent, RectInt)
Makes an X, Y, W, and H field for entering a RectInt.
public static RectInt RectIntField(Rect position, GUIContent label, RectInt 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 |
|---|---|
| RectInt | The value entered by the user. |