UnityEditor.EditorGUILayout.BoundsField C# (CSharp) Method

BoundsField() public static method

Make Center & Extents field for entering a Bounds.

public static BoundsField ( Bounds value ) : Bounds
value UnityEngine.Bounds The value to edit.
return UnityEngine.Bounds
        public static Bounds BoundsField(Bounds value, params GUILayoutOption[] options)
        {
            Rect position = s_LastRect = GetControlRect(false, EditorGUI.GetPropertyHeight(SerializedPropertyType.Bounds, GUIContent.none), EditorStyles.numberField, options);
            return EditorGUI.BoundsField(position, value);
        }

Same methods

EditorGUILayout::BoundsField ( GUIContent label, Bounds value ) : Bounds
EditorGUILayout::BoundsField ( string label, Bounds value ) : Bounds