- Home /
Guitext hides PHP text on iphone
Hi,
i use this code to get scores from SQL database and use guitext to display the scores. It works without any issues on Mac, but on iphone it displays only one line. I am confused about this. I am pretty sure that settings of guitext are not the issue as i test it iphone resolution, so position should correspond to the one on iphone. But there is strangely just one line on iphone.
Here is the code:
var getScoreUrl = "url";
var hs_get : WWW;
function Awake()
{
GetScores();
}
function GetScores()
{
hs_get = WWW(getScoreUrl);
yield hs_get;
if(hs_get.error)
{
print(hs_get.error);
}
else
{
guiText.text = hs_get.text;
yield WaitForSeconds(0.5);
}
}
Thanks for any help Luke
Comment
Your answer
Follow this Question
Related Questions
Problem Displaying Score on GUI text 0 Answers
GUI Text line break Alt+Enter still does not work in Unity for Windows? 0 Answers
Canvas Text gets garbled 0 Answers
Simple text GUI 2 Answers
Restrict characters in GUI.TextField 4 Answers