Version: 2018.1
public float GetPropertyHeight (MaterialProperty prop, string label, MaterialEditor editor);

Parameters

propThe MaterialProperty to make the custom GUI for.
labelThe label of this property.
editorCurrent material editor.

Description

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

По умолчанию одна линия высоты.