MaterialEditor.ColorProperty

public Color ColorProperty(Rect position, MaterialProperty prop, string label);
public Color ColorProperty(MaterialProperty prop, string label);

Parameters

labelLabel for the property.

Description

Draw a property field for a color shader property.

Did you find this page useful? Please give it a rating: