Version: 2017.1

PropertyDrawer.GetPropertyHeight

Cambiar al Manual
public float GetPropertyHeight (SerializedProperty property, GUIContent label);

Parámetros

property The SerializedProperty to make the custom GUI for.
label The label of this property.

Valor de retorno

float The height in pixels.

Descripción

Override this method to specify how tall the GUI for this field is in pixels.

The default is one line high.