> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Unity 概览

> 在 Unity 中构建 XBOX 与 Windows 游戏，使用通过 ID@XBOX 授权的 XBOX 附加组件，在编辑器内完成打包、登录以及接入平台功能。

本路径面向使用 **Unity** 开发游戏的团队。你将安装 Unity 版 XBOX 附加组件（通过 ID\@XBOX 授权），让 Unity 能够为 XBOX 打包并接入平台功能——大部分工作都可以留在 Unity 编辑器内完成。

<Tip>
  **这是适合你的路径吗？** 如果你的游戏是一个 Unity 项目，请选择此路径。使用其他引擎？请尝试 [Unreal](/paths/unreal/overview) 或 [社区引擎](/paths/community-engines/overview)。完全不使用引擎？请选择设备类路径，例如 [XBOX Series X|S](/paths/series-xs/overview) 或 [Windows & ROG XBOX Ally](/paths/windows/overview)。
</Tip>

## 开始前的准备

请确保以下条件已就绪。如有缺失，请返回 [首页](/) 的引导式路径。

* **完成 ID\@XBOX 入门流程** — 参见 [ID@XBOX 入门](/home/onboarding)。
* **开发 PC 已就绪** — 参见 [安装与配置](/home/setup-install/get-started)。
* **一个可运行的 Unity 项目**（Unity 2022 LTS 或更高版本）。
* **Unity 版 XBOX GDK 插件**已通过 ID\@XBOX 授权。参见 [Unity 配置](/build/gdk-and-engines/unity/unity)。
* **Partner Center 产品**已勾选相应的设备行。

## 构建与开发

<CardGroup cols={2}>
  <Card title="Unity 配置" icon="cube" href="/build/gdk-and-engines/unity/unity">
    XBOX 插件配置与版本兼容性。
  </Card>

  <Card title="GDK 打包" icon="box" href="/build/core-features/common/packaging/overviews/packaging">
    为 XBOX 和 Windows 打包 Unity 构建。
  </Card>

  <Card title="MicrosoftGame.config" icon="file-code" href="/build/core-features/common/game-config/MicrosoftGameConfig-Overview">
    为平台配置你的游戏。
  </Card>

  <Card title="调试" icon="bug" href="/build/core-features/common/async/index">
    调试 Unity + GDK 构建。
  </Card>

  <Card title="C# API 封装" icon="code" href="/build/gdk-and-engines/unity/unity-api-wrappers">
    针对原生 GDK 的 Unity C# 封装。
  </Card>
</CardGroup>

## 接入服务

<CardGroup cols={2}>
  <Card title="XBOX Services" icon="server" href="/services/xbox-services/index">
    身份、在线状态、社交。
  </Card>

  <Card title="PlayFab" icon="database" href="/services/playfab/get-started/what-is-playfab">
    LiveOps、经济系统、多人游戏。
  </Card>
</CardGroup>

## 发布

<CardGroup cols={2}>
  <Card title="概览" icon="compass" href="/publishing/game-publishing/concepts/certification/certification-guide">
    发布基础知识。
  </Card>

  <Card title="XBOX Requirements" icon="clipboard-check" href="/publishing/certification/xbox-requirements">
    XR 合规。
  </Card>

  <Card title="认证" icon="shield-check" href="/publishing/certification/overview">
    认证流程。
  </Card>

  <Card title="商店页面" icon="store" href="/publishing/game-publishing/concepts/store-listing">
    产品页面。
  </Card>

  <Card title="定价" icon="tag" href="/publishing/game-publishing/tutorial-xbox-managed/how-to-configure-pricing-and-availability">
    定价。
  </Card>

  <Card title="分级" icon="star" href="/publishing/game-publishing/concepts/age-ratings">
    年龄分级。
  </Card>
</CardGroup>

## 优化与参考

<CardGroup cols={2}>
  <Card title="优化" icon="gauge-high" href="/tools/index">
    性能分析器、诊断工具与性能工具。
  </Card>

  <Card title="API 参考" icon="brackets-curly" href="/reference/system/gc-reference-system-toc">
    Gaming Runtime、XBOX Services 及平台 API。
  </Card>
</CardGroup>

## 相关 API 文档

* [XGameRuntime features 参考](/reference/system/xgameruntimefeature/xgameruntimefeature_members) — Unity 插件封装的 GDK 界面
* [XSAPI 概览](/reference/live/xsapi-c/atoc-xsapi-c) — 从 Unity 中调用的 XBOX Services API
* [PlayFab 概览](/services/playfab/get-started/index) — PlayFab REST + Unity SDK 界面


## Related topics

- [Party Unity 插件概览](/zh-CN/services/playfab/multiplayer/networking/party-unity-overview.md)
- [PlayFab Multiplayer Unity 插件概览](/zh-CN/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/multiplayer-unity-overview.md)
- [XBOX Series X|S 概览](/zh-CN/paths/series-xs/overview.md)
- [移植概览](/zh-CN/paths/porting/overview.md)
- [Unreal Engine 概览](/zh-CN/paths/unreal/overview.md)
