For Unity 2017.1+
(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 Unity SDK
- DocFX project for generateing API documentation
- Written manuals and guides
Versioned SDK (easy, current stable release)
- If you’ve installed the SDK before, delete
Assets/Mapboxfolder from your project
- Within Unity:
Assets -> Import Package -> Custom Package... -> All -> Import, wait 😏
From this Repository (advanced, latest development)
Downloading the repo as a
zip does not work!
git clone [email protected]:mapbox/mapbox-unity-sdk.git cd mapbox-unity-sdk
Documentation is generated using DocFX from this repo and is hosted at: https://www.mapbox.com/mapbox-unity-sdk/.
This project includes git submodule dependencies outlined in this gitmodules file.
To install/update the dependencies after
git pull run
update-mapbox-unity-sdk-core.sh (depending on your OS).
These repos are actively developed and maintained:
NOTE: As of May 16, 2017, the https://github.com/mapbox/mapbox-sdk-cs repo has been merged into this repo. These source files are now located here:
cs changes will be backported on a case-by-case basis.
Building a Unity Package
To build a Unity Package for import into your own project from the included
Mapboxfolder in the project view.
- Right-click and choose
Exportand choose a location.