- Home /
Question by
RedRain · Apr 14, 2014 at 03:55 PM ·
androidjavascriptlabelguilabel
Unity2D Android GUI.Label position diffrent in Unity and in Android
I have this code for GUI.Label
function OnGUI(){
GUI.Label( new Rect(10,10,200,25), "openCard1 : "+Status.openCard1+" Inside is : "+Status.cardInside[Status.openCard1]);
GUI.Label( new Rect(150,10,100,25), "Score : "+Status.score);
GUI.Label( new Rect(10,25,200,25), "openCard2 : "+Status.openCard2+" Inside is : "+Status.cardInside[Status.openCard2]);
GUI.Label( new Rect(150,25,100,25), "Level : "+Status.stageLvl);
GUI.Label( new Rect(10,40,200,25), "Array : "+Status.cardInside);
GUI.Label( new Rect(10,55,200,25), "Time : "+stageTime+" Combo : "+Status.combo);
GUI.Label( new Rect(150,55,200,25), "Card Turn : "+Status.cardTurn);
GUI.Label( new Rect(10,70,200,25), "Total Card : "+Status.totalCard);
GUI.Label( new Rect(150,70,200,25), "Wild Card : "+Status.wildCardProgress);
}
in Unity when click play button all looks smooth : 
but when it's running on android : 
please anyone help me i don't get it why :( anyone that read please help :(
Comment
Your answer