Unity3D 2D game. Fit camera horizontally -


i'm working on unity3d 2d mobile game , i've got problem connected aspect ratio. when changing aspect ratio camera fits vertically. landscape mode games practice. portrait mode games better fit camera horizontally. game needs fit camera horizontally. please me it.

let's aspect ratio 4:3

if want make camera fit landscape mode of 16 units wide, make camera size of 16 / 4 * 4

if want make camera fit portrait mode of 16 units tall, make camera size of 16 / 3 * 4


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -