- Home /
Change play previw editor window size to match 1280x800 (android)
How would i set the play preview editor window to fit my android tablet i am developing for? It has a screen size of 1280x800, how would i do this? Here is a screencap of the choices i have (which is very limited)
Answer by Lttldude · Apr 15, 2012 at 10:17 AM
EDIT: I just realized that the mobile platform does not have the standalone option. So try switching to PC/Mac Standalone (File->Build Settings-> Select Pc and Mac Standalone and press switch platform) and then changing the resolution for the player as noted below. I know this isn't perfect, since you are not in the mobile platform anymore,
1) Set the play preview editor window size to 'Standalone'
2) Go to Edit > Project Settings > Player
3) Change "Default Screen Width" and "Default Screen Height" to 1280 x 800.
Good Luck.
This only works if my build target is for pc, but this does not affect if i am building for android. How would i customize my window size for android? And if you look above, "standalone" is not an option in the window size options for the play preview window.
I have tried free aspect and resizing manually, i got my width right as it shows all my gui objects, but now it is too small and i don't know how to make it tall enough to show the right height of my window (which is 800 by the way).