> ## 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.

# 什么是 Touch Adaptation Kit 编辑器？

> 什么是 Touch Adaptation Kit 编辑器？

Visual Studio Code 的 TAK 编辑器扩展是一款工具，可让你在 VS Code 内部直接为 XBOX 游戏串流上的游戏创建、预览、验证并打包 Touch Adaptation Bundles (TABs)，全程无需保持游戏串流会话。本文概要介绍该扩展、其功能以及如何使用。

<img src="https://mintcdn.com/microsoft-4404708b/CwRBzaXvHw9zaPoe/images/gdk/features/common/tak-editor-intro.png?fit=max&auto=format&n=CwRBzaXvHw9zaPoe&q=85&s=17dbd0833faf74150ae9516f2d288f49" alt="Visual Studio Code 的 Touch Adaptation Kit 编辑器扩展的屏幕截图" width="1380" height="901" data-path="images/gdk/features/common/tak-editor-intro.png" />

## 功能

TAK 编辑器是着手为 XBOX 游戏串流上的游戏设计触控操控的基础工具。其主要功能包括：

* 使用预定义模板创建触控适配捆绑包，或从空白模板开始。
* 为现有捆绑包创建更多布局。
* 布局的实时交互式预览。
* 使用颜色和图像自定义预览背景，以模拟不同的游戏场景。
* 在 [VS Code 问题面板](https://code.visualstudio.com/docs/editor/editingevolved#_errors-warnings)中查看捆绑包的验证问题。
* 打包捆绑包以提交到 XBOX 游戏串流服务。

## 前提条件

* [Visual Studio Code](https://code.visualstudio.com/Download)
* Touch Adaptation Kit 命令行工具 (TAK CLI)
  * [Windows](https://aka.ms/get-takcli)
  * [macOS](https://aka.ms/get-takcli-mac)

该扩展的**所有**功能都依赖 TAK CLI。CLI 需要单独下载，并放置到安装了该扩展的计算机上。下载工具后，必须在扩展的设置中指定其路径，具体在下一节中介绍。你无需从终端调用 CLI，扩展会自动处理与 CLI 的所有交互。

## 安装

可通过 [Visual Studio Code 应用市场](https://aka.ms/get-takeditor)或直接在 Visual Studio Code 中安装该扩展。

在 Visual Studio Code 中安装：

1. 打开 Visual Studio Code。
2. 单击窗口侧栏活动栏中的“扩展”图标[浏览扩展](https://code.visualstudio.com/docs/editor/extension-marketplace#_browse-for-extensions)。
   * Windows 上按 `Ctrl+Shift+X`
   * macOS 上按 `Cmd+Shift+X`
3. 搜索 “Touch Adaptation Kit Editor”，然后单击该扩展。
4. 单击“安装”按钮。

## 下一步

> \[!div class="nextstepaction"]
> [TAK 编辑器安装设置](/build/core-features/common/game-streaming/tak-editor/game-streaming-tak-editor-setup)


## Related topics

- [适用于 Visual Studio Code 的 Touch Adaptation Kit (TAK) 编辑器](/zh-CN/build/core-features/common/game-streaming/tak-editor/index.md)
- [构建触控的设计师指南](/zh-CN/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-designers-guide.md)
- [TAK 编辑器设置](/zh-CN/build/core-features/common/game-streaming/tak-editor/game-streaming-tak-editor-setup.md)
- [使用 TAK 编辑器打包触控适配包](/zh-CN/build/core-features/common/game-streaming/tak-editor/game-streaming-tak-editor-pack-bundles.md)
- [在 TAK 编辑器中创建适配包和布局](/zh-CN/build/core-features/common/game-streaming/tak-editor/game-streaming-tak-editor-create-bundle.md)
