Answers for "how to change the color of materials programmatically unity3d"

C#
5

unity set material color

//Gets the renderer material and sets color
object.GetComponent<Renderer>().material.color = newColor;
Posted by: Guest on June-13-2020

Code answers related to "how to change the color of materials programmatically unity3d"

C# Answers by Framework

Browse Popular Code Answers by Language