> For the complete documentation index, see [llms.txt](https://octanta-studio.gitbook.io/zi-dong-jiao-cheng-sheng-cheng-qi-you-xi-nei-ti-shi-cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://octanta-studio.gitbook.io/zi-dong-jiao-cheng-sheng-cheng-qi-you-xi-nei-ti-shi-cn/usage-guide/tutorial-creation.md).

# Tutorial Creation

{% hint style="info" %}
**录制过程中请勿重启或离开场景。**
{% endhint %}

在此，录制逻辑由 Automatic Tutorial Maker（ATM）脚本处理。

1. **运行场景** ▶**。**&#x5EFA;议在此之前将进度重置回起点（清除 Player Prefs 或 JSON 文件）。
2. **在 AutomaticTutorialMaker 中点击 Start Recording 按钮**。录制已开始，您在游戏窗口中的所有操作将实时被跟踪。

<figure><img src="/files/PSvbSNoiYX9ZJJzmW793" alt=""><figcaption><p>ATM button to record tutorial for this scene. Play Mode required</p></figcaption></figure>

3. **展示需要执行的操作。**&#x6BCF;次交互都会作为步骤记录在 ATM 的 Step Sequence 列表中，以便之后向玩家展示操作流程。

<figure><img src="/files/UgTUkHlPxQiV3oBN8xJK" alt=""><figcaption><p>Step</p></figcaption></figure>

4. **展示玩家需要学习的完整操作顺序。**&#x4F8B;如，点击对象、将一个对象拖到另一个对象上、使用 WASD、滑动、滚动——完成整个活动场景所需的所有操作。
5. **准备好后，在 AutomaticTutorialMaker 中点击 Stop Recording 按钮。**&#x8FD9;将退出播放模式并保存生成的教程。如果未点击该按钮就退出播放模式，将不会保存任何内容。

<figure><img src="/files/qWRv9mG9Ob7xEwbSJyZz" alt=""><figcaption><p>ATM button to record tutorial for this scene. Play Mode required</p></figcaption></figure>

6. **运行场景。**&#x73B0;在您可以看到 ATM 根据您的操作生成的基本视觉提示。请尝试按照教程操作进行测试。

<figure><img src="/files/fTPw7MQezBSIwP8QaVuy" alt=""><figcaption><p>Default Pointer</p></figcaption></figure>

7. **在运行时，在 StepSequencePlayer 中点击 Reset Tutor Progress 按钮**，可重置进度并从头查看所有提示。

<figure><img src="/files/Zw1jTsE9yN3EbVVO6SuF" alt=""><figcaption><p>SSP button to reset progress on the scene. Play Mode required</p></figcaption></figure>

现在教程的基础已创建完毕，可在编辑模式下进行自定义。
