AR support requires Unity 2017.3+, Android 7+ (Nougat), iOS 11.3
Find the AR specific README here.
If AR support is not needed these subfolders of sdkproject/Assets/
maybe deleted:
- MapboxAR
- UnityARInterface
- GoogleARCore
- UnityARKitPlugin
(for 5.4x compatible versions, please use this commit)
Tools for using Mapbox APIs with C# / Unity. If you'd like to contribute to the project, read CONTRIBUTING.md.
This repo contains:
- Unity specific tools and libraries for processing Mapbox data
- Example projects using Mapbox Maps SDK for Unity
- DocFX project for generating API documentation
- Written manuals and guides
- Download
unitypackage
from https://www.mapbox.com/unity-sdk/#download - If you've installed the SDK before, delete
Assets/Mapbox
folder from your project - Within Unity:
Assets -> Import Package -> Custom Package... -> All -> Import
, wait 😏
Downloading the repo as a zip
does not work!
git clone git@github.com:mapbox/mapbox-unity-sdk.git
cd mapbox-unity-sdk
Windows: update-mapbox-unity-sdk-core.bat
Linux/Mac: ./update-mapbox-unity-sdk-core.sh
Documentation is generated using DocFX from this repo and is hosted at: https://www.mapbox.com/mapbox-unity-sdk/.
To build a Unity Package for import into your own project from the included sdkproject
:
- Select
Mapbox
folder in the project view. - Right-click and choose
Export Package...
.
- Uncheck
Include Dependencies
.
- Click
Export
and choose a location.