文档

Unity Engine

Unity Engine

colorValue

Color value of the property.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public Color colorValue { get; set; }

Remarks

Setting a new value will apply it to all material MaterialProperty.targets, and will automatically record an undo operation.
Additional Resources: MaterialProperty.type, MaterialEditor.