Today we are announcing the Mapbox Unity SDK. The new SDK gives developers direct access to Mapbox from within Unity, bringing the full spectrum of Mapbox API’s to location-based games, VR, and AR. All of this is available across platforms: mobile, game consoles, and web browsers.
The SDK exposes reliable library functions to develop Unity applications tapping into Mapbox maps, geocoding, and directions API’s. This makes global map layers for streets, terrain, satellite, points of interest, addresses, places, routing, traffic, and more instantly available in Unity. For example, stream Mapbox Streets map tiles to generate a city-based environment. Keep it flat, or go into the 3rd dimension with building heights:
Access the geocoding API to build geographic leaderboards or use the directions API to lead players through narrow streets to the closest action. Or, like in this example of the Grand Canyon, combine the Mapbox elevation layer and satellite imagery into a comprehensive 3d model:
We have designed the SDK with flexibility in mind, maximizing convenience while avoiding assumptions about your game. For instance, with only a couple of lines of code, you can convert your character’s location into a human readable name like “Grand Canyon”:
Games and global mapping data are a powerful combination. We’re excited to open up our new SDK and see what we can build together. This is just the start; if you’re looking to bring location to your game or AR/VR application, we’d love to hear from you!