文档

Unity Engine

Unity Engine

targets

Material objects being edited by this property (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public Object[] targets { get; }

Remarks

Changes done to property values via MaterialProperty.floatValue, MaterialProperty.colorValue, MaterialProperty.vectorValue, MaterialProperty.textureValue will be applied to these objects.