Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答