Screen.width and Screen.height on Android?

Hi

I’m trying to put a message box at the center of the screen of my android phone. I want it to appear at the center of bigger and smaller screen too, so i use Screen.width/2 and some other code in my script. The box appeared fine in Unity but when i port it to android, the box disappeared.

Do Screen.width and Screen.height work with Android? If not, how can i archive that? Sorry, i’m new to this :slight_smile:

Thanks

Any one??? :frowning:

Can you post the code you’re using?