适用于 Unity 的 Google Play 游戏插件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
适用于 Unity 的 Google Play 游戏插件是一个开源项目,可让您将 Google Play 游戏服务 API 集成到在 Unity 内开发的 Android 游戏中。
该插件支持通过 Unity 的 Social 接口访问 Google Play 游戏服务 API,还在 Unity GUI 中提供项目配置。
您可以从 GitHub 代码库下载适用于 Unity 的 Google Play 游戏插件。如需了解如何设置和使用该插件,请参阅入门指南:
使用入门
支持的 Play 游戏服务功能
软件要求
Unity® 2017.4 或更高版本。
Android 部署要求:
- Android SDK
- Android v4.0 或更高版本
- Google Play 服务库 11.6 或更高版本
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Google Play Games plugin for Unity\n\nThe Google Play Games plugin for Unity is an open-source project that allows you\nto integrate the [Google Play Games Services APIs](/games/pgs/overview) into an Android game\ndeveloped in [Unity](https://unity.com).\n\nThe plugin provides access to the Google Play Games Services API through Unity's\n[social interface](http://docs.unity3d.com/Documentation/ScriptReference/Social.html).\nIt also provides project configuration in the Unity GUI.\n\nYou can download the Google Play Games plugin for Unity from the\n[GitHub repo](https://github.com/playgameservices/play-games-plugin-for-unity).\nFor information on setting up and using the plugin, see the get started guide:\n\n[Get Started](/games/pgs/unity/unity-start)\n\nSupported Play Games Services features\n--------------------------------------\n\n- [Sign-in](/games/pgs/signin)\n- [Friends](/games/pgs/friends)\n- [Achievements](/games/pgs/achievements)\n- [Leaderboards](/games/pgs/leaderboards)\n- [Saved games](/games/pgs/signin)\n- [Events](/games/pgs/events)\n\nSoftware requirements\n---------------------\n\n- Unity® 2017.4 or higher.\n\n- Android deployment requirements:\n\n - Android SDK\n - Android v4.0 or higher\n - Google Play Services library version 11.6 or higher"]]