This version of Unity is unsupported.

MaterialEditor.FloatProperty

public float FloatProperty(MaterialProperty prop, string label);
public float FloatProperty(Rect position, MaterialProperty prop, string label);

Parameters

labelLabel for the property.

Description

Draw a property field for a float shader property.