im building a game with a lvl system. i whant, when my script add damage / health, a gui text to apear in the bottom and thats sliding up thats saying, lets say : hp +100 and damage + 5. how can i do it???
here is my level system script:
asked Oct 23 '10 at 03:24 AM
vincent dupuis morneau
This will create your gameObject:
You could also create a prefab of a GUIText object and instatiate this instead using GameObject.Instantiate().
To make it move upwards use a coroutine or if you don't know how to use them and don't want to learn it you could look into iTween, which already does all the tweening/moving stuff for you.
answered Oct 23 '10 at 08:48 AM