Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetSharedMaterials(List<Material>)

Assigns the shared materials of this object using the list of materials provided.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void SetSharedMaterials(List<Material> materials)

Parameters

Remarks

Use this method to set the materials on this object using a list.