private void ExtraPropertyAfterTexture(Rect r, MaterialProperty property)
{
if (((property.type == MaterialProperty.PropType.Float) || (property.type == MaterialProperty.PropType.Color)) && (r.width > EditorGUIUtility.fieldWidth))
{
float labelWidth = EditorGUIUtility.labelWidth;
EditorGUIUtility.labelWidth = r.width - EditorGUIUtility.fieldWidth;
this.ShaderProperty(r, property, " ");
EditorGUIUtility.labelWidth = labelWidth;
}
else
{
this.ShaderProperty(r, property, string.Empty);
}
}