Pigeon shit

[ Pigeon shit ] unity Text Color problems

ScreenHunter_38 Oct. 13 12.59

So I was working on Pigeon shit as usual and added a neat little FPS counter for debugging that displays the fps on a Text component. The text would change color (red, yellow, green) depending on the fps. To do this I used text.material.Color, however this would turn all my text components in the scene to green! And had to restart unity to fix it =S found out you had to use text.Color haha, makes sense if you think about it :). I think all text components uses the same material so yeah if you change the color on that material ofcourse every Text component would change color :o