---
title: 编写脚本
product: Cloud Code
version: 3.1.0
latest_version: 3.1.0
status: This page documents version 3.1.0. The latest version is 3.1.0.
canonical: https://docs.unity.com/zh-cn/cloud-code/3.1.0/scripts/how-to-guides/write-scripts
latest_url: https://docs.unity.com/zh-cn/cloud-code/3.1.0/scripts/how-to-guides/write-scripts.md
last_updated: 2026-11-20
generated_at: 2026-12-03T02:22:08.293Z
locale: zh-cn
---

# 编写脚本

> Create Cloud Code scripts with different authoring methods including the Dashboard, Editor, CLI, or REST API.

使用不同的创作方法编写脚本。

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