Question by
psraganvesh · May 23, 2016 at 09:18 AM ·
gameobjecttextcolortheme
How can i change the color of all my texts and backgrounds?
I am trying to implement a dark theme and a light theme and is there a way where i can change the color of all the texts and or game Objects instead of individually changing them? Thank You.
Comment
Answer by TheSorm · May 23, 2016 at 09:44 AM
You can add a text tag to every Text Object and than just do GameObject.FindWithTag("Tag"). Than you can go thruth the array with a for each loop and change the coolors.