Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


targets

Material objects being edited by this property (Read Only).
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.