Vector2IntField
Makes an X and Y integer field for entering a Vector2Int.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
Vector2IntField(Rect, string, Vector2Int)
Makes an X and Y integer field for entering a Vector2Int.
public static Vector2Int Vector2IntField(Rect position, string label, Vector2Int value)
Parameters
Rectangle on the screen to use for the field.
Label to display above the field.
The value to edit.
Returns
Type | Description |
|---|---|
| Vector2Int | The value entered by the user. |
Vector2IntField(Rect, GUIContent, Vector2Int)
Makes an X and Y integer field for entering a Vector2Int.
public static Vector2Int Vector2IntField(Rect position, GUIContent label, Vector2Int value)
Parameters
Rectangle on the screen to use for the field.
Label to display above the field.
The value to edit.
Returns
Type | Description |
|---|---|
| Vector2Int | The value entered by the user. |