|
hey, I know how to create 3d Text, and basic GUI, but how do I go about changing what is written in the 3d text? like a score, and when (A) happens you get (+B) onto your score. P.S. is it possible to stop GUI from moving depending on the resolution of my game?
(comments are locked)
|
|
Sure, just use GUIText.text. And please don't ask more than one question in a single post (read the FAQ). how do I use this? this is what I got but its telling me "cannot convert 'int' to 'string'" var Score : int = 0; function Update () { guiText.text = Score; }
Jun 27 '10 at 06:54 AM
Jason Hamilton
Score.ToString()
Jun 27 '10 at 07:32 AM
qJake
var Score : int = 0; function Update () { Score.ToString(); guiText.Text = Score; } still dojjy, does the guiText.text go inside that?
Jun 27 '10 at 07:42 AM
Jason Hamilton
never mind I got it!
Jun 27 '10 at 11:45 AM
Jason Hamilton
(comments are locked)
|
