Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

Show Enemy Name On UI Canvas?

$
0
0
Heyho! I am currently working on a 2D game and I try to make the health of the enemy appear on the UI rather than on top of the head of the enemy. I also want to make a public variable, that stores a name that I can give the enemy, and this should also show up once the enemy got hit. I tried following this tut; https://www.youtube.com/watch?v=_ICCSDmLCX4 But like I said, I rather want the text to appear on the UI screen. I also have no Idea on how to create a stringTotext for the name, especially If I want to make for every enemy a unique name (crate, gate, ghost..) Could somebody help me?

Viewing all articles
Browse latest Browse all 1488

Trending Articles



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