> For the complete documentation index, see [llms.txt](https://docs.airship.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airship.gg/unity-for-airship/easy-helper-utils/material-color-urp.md).

# Material Color URP

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.&#x20;

{% hint style="info" %}
This script sets the materials `_MainColor` variable via a MaterialPropertyBlock. Use this name in your custom shader to have it support MaterialColorURP.&#x20;
{% endhint %}

<figure><img src="/files/uJXV48PhvosJ83bfZw2C" alt=""><figcaption></figcaption></figure>
