Material Color URP

Set the color of a material

Place this component on a renderer's game object to dynamically assign the color value of its materials. It works for multiple materials on one mesh and can also be changed at runtime.

circle-info

This script sets the materials _MainColor variable via a MaterialPropertyBlock. Use this name in your custom shader to have it support MaterialColorURP.

Last updated