文档

​
​

Development

User Acquisition

Monetization

工业

Authentication

Open Unity Dashboard

Authentication

LiveOps
​
​
Authentication
  • Overview
  • Get started
  • Concepts
  • Tutorials
  • Reference
  • Privacy and consent

Unity Authentication

Implement secure player authentication with anonymous, platform-specific, and custom sign-in solutions for your game.
阅读时间3 分钟
最后更新于 8 个月前

警告
注意:根据《数字服务法案》(DSA) 的规定,如果 Unity 采取的行动会对客户的终端用户产生影响(这种可能性很低),Unity 必须通知这些终端用户。为了满足此终端用户通知要求,我们开发了一个新的通知 API。如果使用的 Unity Gaming Services(Unity 游戏服务)(UGS) 产品依赖于 Unity Authentication 服务,您需要在 DSA 生效日期 2024 年 2 月 17 日之前集成新的通知 API。以下 API 已准备好于 2024 年 1 月下旬采用。请参阅我们的 DSA 合规工作。请参阅 DSA 通知以使游戏合规。
应用程序通常需要了解玩家的身份信息以便为游戏开发者和玩家提供功能和服务,确保每项交互的安全性和一致性。Unity Authentication 为支持的平台(包括移动端和 Windows)提供匿名和特定于平台的身份验证解决方案。
匿名访问不需要玩家输入登录凭据或创建玩家配置文件。但是,通过平台访问时需要登录凭据。Unity 通过 SDK 和 API 调用提供身份验证,让游戏开发者可以专注于最擅长的领域,即游戏制作。
下载 Unity Gaming Services(Unity 游戏服务)示例项目,了解如何实施 Authentication 以解决常见的游戏开发挑战:
  • [A/B 测试](<https://github.com/Unity-Technologies/com.unity.services.samples.use-cases/tree/main/Assets/Use%20Case%20Samples 案例样本/AB 测试关卡难度>)
  • [战斗通行证](<https://github.com/Unity-Technologies/com.unity.services.samples.use-cases/tree/main/Assets/Use%20Case%20Samples 案例样本/战斗通行证>)
  • [云 AI 迷你游戏](<https://github.com/Unity-Technologies/com.unity.services.samples.use-cases/tree/main/Assets/Use%20Case%20Samples 案例样本/云 AI 迷你游戏>)
  • [休闲点击游戏](<https://github.com/Unity-Technologies/com.unity.services.samples.use-cases/tree/main/Assets/Use%20Case%20Samples 案例样本/休闲点击游戏>)
  • [当季活动](<https://github.com/Unity-Technologies/com.unity.services.samples.use-cases/tree/main/Assets/Use%20Case%20Samples 案例样本/当季活动>)
  • [新手礼包](<https://github.com/Unity-Technologies/com.unity.services.samples.use-cases/tree/main/Assets/Use%20Case%20Samples 案例样本/新手礼包>)
  • 虚拟商店

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题