SetSharedMaterials(List<Material>)
Assigns the shared materials of this renderer using the list of materials provided.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void SetSharedMaterials(List<Material> materials)
Parameters
A list of materials to assign to this renderer.
Remarks
Use this method to set the Renderer.sharedMaterials on this renderer using a list.
Additional Resources: Renderer.sharedMaterials.