1 (edited by Duchess 2019-01-22 17:06:44)

Topic: Resizing issue

Hi.

I am trying to get the map to resize to the display. I have used the code in the resize example (http://infinity-code.com/atlas/online-m … ample.html) but when I run Unity and change the resolution in the game window, the map resizes but not enough to cover the display and not in the centre of the display. Also, the centre location of the map is no longer the centre of the screen and is off to the side.

I have a feeling that this might be to do with the starting camera position (camera is perspective and I don't change the camera position in the program). I have tried using the Move Camera To Center Of Tileset. Could anyone shed any light on this please?

Thank you in advance.

Re: Resizing issue

Actually, figured it out, I needed to check the Allow Camera Control. Thanks all.

Re: Resizing issue

Does anyone know where the "Allow Camera Control" option is in V3 please?

Re: Resizing issue

Hello.

This feature has been moved to a separate component - Online Maps Camera Orbit.

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!

Re: Resizing issue

Thank you