B
B
Brossinger2020-08-27 13:55:43
Unity
Brossinger, 2020-08-27 13:55:43

How to make the same shift of the camera or object, taking into account the aspect?

There is a main screen. An event trigger occurs and the screen should move vertically up. As if flying into the clouds.
I tried to do it with the help of the animator on the whole canvas, but I ran into a problem. At the main resolution of 1080 * 1920 - everything works and arrives correctly.
But when I switch to iphoneX, the resolution is 1125 * 2436, as if the screen moves along the axis. on other aspects does not reach.
Is there a way to fix this? Maybe another method to have the camera centered in the middle of the next canvas?

What I found on the Internet refers to 3D cameras. And I have Canvas.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question