Renderer.SetPropertyBlock

切换到手册
public void SetPropertyBlock (MaterialPropertyBlock properties);

描述

Lets you add per-renderer material parameters without duplicating a material.

This is recommended when changing material properties often. With multithreaded rendering, it is more efficient than setting properties directly on the material.

另请参阅:MaterialPropertyBlockGetPropertyBlock