|
I have made a health for the player represented as GUI Text. So when the player reaches 0, the numbers go negative. so what I want for my health script to do is to load level 0 when the GUI Text reaches to -1.
(comments are locked)
|
|
convert your GUI Text to an int / float : http://answers.unity3d.com/questions/11581/convert-string-to-float.html http://answers.unity3d.com/questions/19053/extract-number-from-string.html
(comments are locked)
|
|
It works well, I made an It actually looks that it works, thanks ill try
May 29 '12 at 03:27 PM
BigBlob
(comments are locked)
|
