# 编写模块

> Create Cloud Code modules using different authoring methods including the Unity Editor, CLI, or REST API.

使用不同的创作方法编写模块。

| **主题**                                                | **描述**                                     |
| ----------------------------------------------------- | ------------------------------------------ |
| [UGS CLI](./write-modules/cli.md)                     | 使用 Unity Gaming Services（Unity 游戏服务）命令行工具。 |
| [Unity 编辑器](./write-modules/unity-editor.md)          | 使用 Unity 编辑器中的 Deployment（部署）窗口。           |
| [Unity Dashboard](./write-modules/unity-dashboard.md) | 使用 Unity Dashboard 来预览模块。                  |
| [REST API](./write-modules/rest-api.md)               | 调用 Cloud Code API。                         |
