↧
Answer by gajdot
K, i took the time to write something you want, it wasn't tested, but you need something like this. Put this script on an empty gameobject and hook up the guitexture, textures, and tweak values if you...
View ArticleAnswer by gajdot
This is way too overkill and overcomplicated. What you need is a GUITexture set up and a script with a link to this GUITexture, a public health variable, a function to damage it and script to handle...
View ArticleAnswer by The-Goliath
I agree that you should probably use GUITextures for this. I've written some example code based on what it looks like you're trying to achieve. I'm sure this could be cleaned up a bit, as I know JS but...
View Article