Before you can begin working with Google Maps Platform gaming solution, you must download and install the Maps SDK for Unity Demo.
Step 1: Get Unity
To create a Google Maps Platform gaming solution app, you need a copy of Unity, version 2018.4 or later.
Step 2: Install the SDK
The Maps SDK for Unity 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 SDK for Unity Demo, and then integrate it into Unity.
- Get the Maps SDK for Unity Demo by clicking the following button.
Get the Maps SDK for Unity 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 SDK for Unity ships with a collection of example Unity scenes. Each one demonstrates a feature of the SDK. Look for them in the Unity Project pane, under Examples.