Topic: Best way to size for mobile

I'm using Online maps within a mobile app.

I use the camera component in the rest of the application.

At the moment, I've added the Online Maps script to an empty game component, using tileset as the target. However, I'm having to guess the best size/location of the game component/and script variables. I feel I'm loading more tiles than are visible for the camera.

1. Is there a way for Online Maps to automatically resize, as a canvas UI object, rather than a worldspace object?

2. Do I need to set the width/height/size to the width/height/size of a given mobile device resolution?

Re: Best way to size for mobile

Hello.

Tileset control does not have the ability to automatically resize.
To change the size and / or resolution use OnlineMapsTileSetControl.Resize.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.