Vector3IntField
Makes an X, Y, and Z integer field for entering a Vector3Int.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
Vector3IntField(Rect, string, Vector3Int)
Makes an X, Y, and Z integer field for entering a Vector3Int.
public static Vector3Int Vector3IntField(Rect position, string label, Vector3Int value)
Parameters
Rectangle on the screen to use for the field.
Label to display above the field.
The value to edit.
Returns
Type | Description |
|---|---|
| Vector3Int | The value entered by the user. |
Vector3IntField(Rect, GUIContent, Vector3Int)
Makes an X, Y, and Z integer field for entering a Vector3Int.
public static Vector3Int Vector3IntField(Rect position, GUIContent label, Vector3Int value)
Parameters
Rectangle on the screen to use for the field.
Label to display above the field.
The value to edit.
Returns
Type | Description |
|---|---|
| Vector3Int | The value entered by the user. |