Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What screen size to use in Unity3d for I phone and iPad

Tags:

iphone

unity3d

I am trying to create a game for iPhone, iPad and Android in unity3d. The camera is looking top down. I have created a plane with texture of the ground. Now I want to place the camera such that the game area acquires full screen on the iPhone. Say if the size of iphone screen is 320x480 how will I calculate where to place the camera and plane in Unity 3d environment.

like image 895
ila Avatar asked Jun 06 '12 07:06

ila


1 Answers

After you have build your project to iPhone the aspect ratio drop down list of the game view control bar changes according to your build settings. If for instance iOS is set as target, you will find entries like iPhone Wide, iPhone Tall, ...

like image 142
Kay Avatar answered Sep 21 '22 00:09

Kay