FlashX
1
hi guys,
im having difficulty working out how to display gui text on my android device. it works on pc but wont show on my phone
i feel that ive tried everything but cant work it out.
var debugText :String;
function Start () {
debugText = "hello";
}
function OnGUI () {
GUI.Label (Rect (200, 10, 200, 400), debugText.ToString());
}
any ideas?
FlashX
2
haha, never mind, that did work 
turkert
3
What kind of error you are getting?
It should work.
turkert
4
Himmm.
DebugText is already a string.
You should not use DebugText.ToString(). You should use DebugText directly.
FlashX
5
thanks turkert, im using the code for android stuff, the default debug.log doesnt work on it… would you know of another way?