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

GUI element attached to a GameObject

$
0
0
Hi there!

I have seen this question asked many times, unfortunately I am unable to find conclusive answers.

All I am looking for is to have a uGUI element following a GameObject. Example: a Text element on top of an enemy character prefab. The enemy moves, the text above his head follows it. He leaves view of the camera, the text is disabled. Has to be done with uGUI, not the old GUI or nGUI.

Seems super basic, and yet I am unable to find out how. Help?

Thanks!

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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