Build Settings 窗口包含将构建内容发布到各种平台所需的全部设置和选项。从此窗口中可以创建用于测试应用程序的开发版,也可以发布最终版。 要调整应用程序构建的发布设置,请访问 File > Build Settings。
使用 Scenes in Build 面板可以管理被 Unity 包含在构建中的场景。在此窗口的 Platform 部分中可以选择构建的目标平台,还可以调整 Compression Method 之类的特定设置。这些选项因所选的平台而异。如需了解更多信息,请参阅有关构建设置 (Build Settings)的文档
选择 Build 或 Build And Run 按钮即可开始构建过程。
在随后显示的 Save 对话框中可为应用程序选择一个名称和保存位置。注意:根据目标构建平台的不同,Unity 可能只会提示选择一个文件夹。
选择 Save 按钮时,Unity 会开始构建应用程序。如果不确定要将构建结果保存到何处,请考虑在根文件夹内创建一个子文件夹来保存构建。不能将构建保存到 Assets 文件夹中。
要了解有关构造场景的更多信息,请参阅关于创建场景的文档。
要了解有关脚本的更多信息,请参阅关于脚本的文档。
要了解有关创建美术资源和导入资源的更多信息,请参阅关于资源工作流程的文档。
如需与 Unity 用户和开发人员进行互动,请访问 Unity Forums。
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.