Unity 2D screen resolution problem

Hi everyone,

I had set the game screen size to 1242 * 2208,
it mapped to width 5.8 unit and height 10 unit.

I am wondering how this mapping work and
how can I map a mobile screen touch position exactly onto the position in my game?

Thanks for your attention to this question.

it would be bringing together a few factors.
Screen resolution, aspect ratio and UI screen space I would imagine.

Within the Glitch Garden lectures, aspect ratios / resolutions and touch controls are covered in quite a bit of depth. I would certainly recommend that for a watch.

Privacy & Terms