Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Can't GameObject.Find() on UI Text

$
0
0
I'm sure that this is a simple question regarding the new UI system... One that's probably been asked a million times, but I can't seem to locate the answer by searching the forums :( (My search-fu is lacking)...

I have a Text object in my canvas and a script attached to a game manager (empty) object to deal with various things. For whatever reason, the following code is failing with a null reference exception in the Start function (which of course means that ClickedButton will also fail)....

Can't GameObject.Find() on UI Text

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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