I have a simple question ... with this line: renderer.material.color = Color.Red change de color of material ... but how i can back to the original material color later?
(i apply this on a object texture)
thx!
I have a simple question ... with this line: renderer.material.color = Color.Red change de color of material ... but how i can back to the original material color later?
(i apply this on a object texture)
thx!
Save it somewhere
var originalColor : Color = renderer.material.color;
renderer.material.color = Color.Red
// Waits 5 seconds
yield WaitForSeconds (5);
renderer.material.color = originalColor;