- Home /
Question by
biohazard · Jul 12, 2011 at 08:43 AM ·
javascriptguitext
Limit on GUI Components?
Hey guys, i am experiencing the issue of being unable to use more than 2 GUIText components in Unity. As in : the 3rd one just remains invisible.
How can i solve this?
Thanks in advance,
biohazard
Edit : code down here :)
var DisplaySpeed : GUIText;
var DisplayRPM : GUIText;
var DisplayLine : GUIText;
DisplaySpeed.text = DigitalSpeed.ToString("000 km/h");
DisplayRPM.text = DigitalRPM.ToString("0000 RPM");
DisplayLine.text = "Zeile : " +i;
He's showing Line and RPM, but not speed
Comment
Can you show the code snippet?
There shouldn't be a problem
yeah, can we see your code, it will make it easier to help you if we can take a look at it.....
There is no limit,at least nothing like 2. Are you sure the GUIText is positioned correctly? Can you see it in the Game view before running the game?
i cannot see it in game-view either...it's really weird