> ## 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 總覽

> 使用透過 ID@XBOX 授予的 XBOX 附加元件,在 Unity 中建置 XBOX 與 Windows 遊戲,直接在編輯器中封裝、登入並連接平台功能。

這條路徑適用於使用 **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 服務" 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 需求" 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 服務與平台 API。
  </Card>
</CardGroup>

## 相關 API 文件

* [XGameRuntime 功能參考](/reference/system/xgameruntimefeature/xgameruntimefeature_members) — Unity 外掛程式所包裝的 GDK 介面
* [XSAPI 總覽](/reference/live/xsapi-c/atoc-xsapi-c) — 從 Unity 使用的 XBOX 服務 API
* [PlayFab 總覽](/services/playfab/get-started/index) — PlayFab REST + Unity SDK 介面


## Related topics

- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [移植總覽](/zh-TW/paths/porting/overview.md)
- [Unreal Engine 總覽](/zh-TW/paths/unreal/overview.md)
- [Play Anywhere(主機 + PC)總覽](/zh-TW/paths/play-anywhere/overview.md)
- [Godot 與社群引擎總覽](/zh-TW/paths/community-engines/overview.md)
