Before you can begin working with Google Maps Platform gaming solution, you must download and install the Maps Unity SDK Demo.
Step 1: Get Unity
To create a Google Maps Platform gaming solution app, you need a copy of Unity, version 2017.3 or later.
Step 2: Install the SDK
The Maps Unity SDK Demo is distributed as a Unity Package (GoogleMaps.unitypackage) that you can import into a new or existing Unity Project.
To install the SDK
Follow this procedure to get a copy of the Maps Unity SDK Demo, and then integrate it into Unity.
- Get the Maps Unity SDK Demo by clicking the following button.
Get the Maps Unity SDK Demo
- Unzip the SDK archive file. The zip file contains a notice text file, and the Google Maps Unity package file.
- In Unity, open the Assets menu, and then choose Import Package > Custom Package....
- In the file picker dialog that appears, navigate to the file GoogleMaps.unitypackage, select it, and then click Open. The Import Unity Package dialog appears, showing all of the Google Maps assets that the package contains—and they all appear selected.
- In the Import Unity Package dialog, click Import.
A GoogleMaps folder appears in your Project pane. It contains a set of assets grouped into Examples, Materials, Plugins, and Scripts.
The Maps Unity SDK Demo ships with three example Unity scenes. Each one demonstrates a feature of the SDK. Look for them in the Unity Project pane, under Examples.