Configure Google Play Games Plugin in Unity
masterConnect your Play Developer Console configuration to your Unity project using the following steps:
- Get AndroidManifest.xml: In the Play Developer Console, go to
Grow > Play Games Services > Setup and Management > Configurationand copy theAndroidManifest.xmlcontent. - Android Setup: In Unity, go to
Window > Google Play Games > Setup > Android Setup. Paste the XML into the provided text area. - Constants Class: In the
Constants class namefield, enter the full namespace and class name (e.g.,SmokeTest.Scripts.GPGSIds). - Nearby Connections: Go to
Window > Google Play games > Setup > Nearby Connections Setupand paste your package name.