public static float GetDefaultPropertyHeight(MaterialProperty prop) { if (prop.type == MaterialProperty.PropType.Vector) { return 32f; } if (prop.type == MaterialProperty.PropType.Texture) { return (GetTextureFieldHeight() + 6f); } return 16f; }