Shared Material is changing???

I want change object color, when mouse cursor on object.

private void OnMouseEnter()
        {
            for (int i = 0; i < renderers.Length; i++)
            {
                renderers<em>.material.color = new Color(renderers<em>.material.color.r * coef, renderers<em>.material.color.g * coef, renderers_.material.color.b * coef);_</em></em></em>

}
}

private void OnMouseExit()
{
for (int i = 0; i < renderers.Length; i++)
{
renderers_.material = renderers*.sharedMaterial;
}
}*

When OnMouseEnter call, material color change, but when OnMouseExit call, nothing happens._

Hello. This is working as expected. See this post that explains the link between Renderer.material and Renderer.sharedMaterial. The best way would be to cache the original color and use that value in OnMouseExit. See this post.