Robotic Vn
Robotic Vn

Reputation: 577

Adjust UI for multi screen size on Unity3D

I just started learning Android Game Programming on Unity3D.

I want to create a Main menu with an ImageButton. However, when I rotate the device to landscape mode, the button is distorted.

Could you help me to resolve this problem? Thank you!

Below are some my screenshots

enter image description here

enter image description here

enter image description here

enter image description here

Upvotes: 0

Views: 230

Answers (1)

Everts
Everts

Reputation: 10721

Image component has a Preserve Aspect toggle. It will prevent the stretching of the sprite to fill the whole rect.

Upvotes: 1

Related Questions