If the script is attached to your character use this:
renderer.material.color = Color.(choose a colour)
Or
renderer.material.color = new Color(r,g,b,a); (red, green, blue, alpha)
↧