Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Grabbing the Color of Text Component in New GUI. Why is this not working?

$
0
0
Ok, so I'm using the new GUI system. I have a Canvas, and as a child of the Canvas I have a Text object. I want to grab the Color of that text object so I can change it through code under certain conditions. This is the code I would typically use the grab that component. Why doesn't this work, and what should I be using instead? It gives me this error right now: error CS0246: The type or namespace name `Text' could not be found. Are you missing a using directive or an assembly reference?...

Grabbing the Color of Text Component in New GUI. Why is this not working?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>