Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Vector3IntField

Make an X, Y & Z integer field for entering a Vector3Int.
Read time 2 minutesLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

Vector3IntField(string, Vector3Int, GUILayoutOption[])

Make an X, Y & Z integer field for entering a Vector3Int.
public static Vector3Int Vector3IntField(string label, Vector3Int value, params GUILayoutOption[] options)

Parameters

label

Label to display above the field.

The value to edit.

An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the style.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.

Returns

Type

Description

Vector3IntThe value entered by the user.

Vector3IntField(GUIContent, Vector3Int, GUILayoutOption[])

Make an X, Y & Z integer field for entering a Vector3Int.
public static Vector3Int Vector3IntField(GUIContent label, Vector3Int value, params GUILayoutOption[] options)

Parameters

Label to display above the field.

The value to edit.

An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the style.
Additional Resources: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight.

Returns

Type

Description

Vector3IntThe value entered by the user.