Important: The Unity Cloud Content Delivery documentation has moved to docs.unity.com. Please visit the new site for the most up to date information about Unity CCD. |
Cloud Content Delivery (CCD) 是一项托管的云服务,可在全球范围内为应用程序用户托管和交付内容,无需用户重新安装新版本的应用程序。该服务已完全集成到 Unity 开发平台中,无需您构建和维护自己的类似服务,因此为您节省了数月的时间。CCD 对于内容丰富的实时游戏或需要定期更新内容的应用程序最有价值。
在 CCD 中,您可以将内容组织到存储桶中,从而为项目创建清晰的工作流程。一个典型的工作流程示例可能是每个平台具有单独的存储桶(例如,iOS 存储桶和 Android 存储桶)。在给定的存储桶中,您将每个资源的特定版本组合在一起以创建发布版本。随着这些版本的更改,或者您添加和删除条目,您可以根据需要指定新的发布版本。
发布版本还可以具有与之关联的唯一标识符,称为“标示”。为该标示指定一个有意义的名称,然后用这个名称来查询内容,并可在各个发布版本之间移动以增加工作流程的灵活性。
通过使用 Cloud Content Delivery,您可以将内容组织到存储桶中,从而为项目创建清晰的工作流程。存储桶是用于发布内容的单个上下文(例如平台或环境)。一个典型的工作流程示例可能是使用单独的存储桶进行开发、暂存和生产构建(具有 ios_staging
和 ios_production
之类的名称)。
A.CCD 中显示的存储桶的详细信息,包括存储桶 ID 和描述。
B.该存储桶内某个发布版本的详细信息。
一个条目是存储桶中的单个内容单元。条目支持标签和元数据。创建发布版本会捕获存储桶中所有条目的当前状态,类似于版本控制过程。
A.当前所选发布版本的详细信息。
B.此发布版本中的一个资源及其详细信息。
将文件推送到存储桶中的最简单方法是使用 CLI 的 sync
命令。此方法会将本地文件夹的内容推送到远程存储桶,这会根据需要自动添加、更新和删除存储桶中的内容。
创建发布版本时,CCD 会在该特定时间点为存储桶中包含的所有条目(以条目的当前版本)创建快照。要删除、更新或添加条目,必须创建新的发布版本以便交付新的或更改的条目。
标示可方便您选择应用程序使用的发布版本。您可以为发布版本分配唯一的标示,并使用该标示的名称请求相应的内容。
A.此行显示存储桶的 Releases 选项卡中的发布版本。
B.与此发布版本关联的标示(如有)。
您可以在发布版本之间移动此标示,从而提高内容工作流程的灵活性。移动标示会将该标示从关联的先前发布版本中删除。一次只能将一个标示分配给一个发布版本,但是可以将多个标示与一个发布版本关联。
默认情况下会将自动生成的名为 latest
的标示分配给最新发布版本。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.