Unity - Scripting API: EditorGUILayout.Vector3Field
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Declaration
public static Vector3 Vector3Field(string label, Vector3 value, params GUILayoutOption[] options);
Returns
Vector3 The value entered by the user.
Description
Make an X, Y & Z field for entering a Vector3.
Measure the distance between 2 GameObjects or 2 positions in 3D space.