Unity 下载助手 (Download Assistant) 支持离线部署。在这种部署方式中,可下载用于安装 Unity 的所有文件,然后生成脚本以便在未接入互联网的其他计算机上重复相同的安装。
运行下载助手,并在一台计算机上正常安装 Unity。此计算机必须有足够的可用磁盘空间来下载所有文件。 单击下拉选单并选择 __Custom__,然后选择要将文件下载到的位置。
打开 PC 的文件管理器,导航到之前指定的自定义位置文件夹,然后在该文件夹内查找 .sh
或 .bat
文件。检查此文件的内容。文件内容应该类似于以下示例:
1.将整个文件夹复制到目标 Windows PC,然后运行提供的 .bat
文件。
1.为了避免 Windows UAC 提示,请从管理员 shell 运行 install.bat
。在 Start 菜单中,搜索 cmd.exe
,右键单击并选择 Run as administrator。
1.导航到包含脚本的文件夹。该文件夹通常在 Downloads 文件夹 (cd C:\Users\[YourName]\Download\UnityPackages
) 中。
1.将整个文件夹复制到目标 Mac OS X 计算机,然后运行提供的 .sh
文件。
运行 sudo install.sh
。
1.导航到包含脚本的文件夹。该文件夹通常在 Downloads 文件夹 (cd ~/Downloads/UnityPackages
) 中。
1.可以根据需要,为要安装 Unity 的每台计算机重复执行这些指令。
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.