public GetPropertyHeight ( |
||
prop | ||
label | string | |
editor | ||
Результат | float |
public float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
{
float num = 0f;
if (this.m_DecoratorDrawers != null)
{
foreach (MaterialPropertyDrawer drawer in this.m_DecoratorDrawers)
{
num += drawer.GetPropertyHeight(prop, label, editor);
}
}
if (this.m_PropertyDrawer != null)
{
num += this.m_PropertyDrawer.GetPropertyHeight(prop, label, editor);
}
return num;
}