文档

Unity Engine

Unity Engine

targets

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

Definition

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.