Version: 2022.1

MaterialEditor.GetDefaultPropertyHeight

切换到手册
public static float GetDefaultPropertyHeight (MaterialProperty prop);

描述

计算属性所需的高度(忽略自定义绘制器)。

这类似于 GetPropertyHeight,区别在于它会忽略任何自定义 MaterialPropertyDrawer 对象。