miercuri, 24 mai 2017

Testing Mapbox with Unity using unitypackage .

This unitypackage let you to use some maps features like:
Maps and location data optimized for Unity. Written from the ground up in C#, the Mapbox Unity SDK unlocks global data to generate custom 3D worlds, power location lookup, and incorporate traffic-based directions in your next Unity project.
You can download this unitypackage from mapbox.com.
Let's test with Unity ( version 5.6.0f3 Personal ) .
First you need to download it and then you need to import it into your project.
Import package in Unity from the Unity editor menu: Assets - Import package - Custom Package or use double-click on downloaded mapbox-unity-sdk_v0.5.1-beta.unitypackage.
Take an API token is required to access Mapbox services.
Use your token from here into Unity project.
Use click Mapbox - Configure Access from the Unity Editor menu and then paste your token into the Token field. Assuming your token is valid.
This SDK is pretty and complex, but you can find examples with the installation of this packet and so try and modify it until you get used to it.
Here's a screenshot of a few minutes of testing and testing with this SDK.