Unity 手册和脚本 API 包含多个 Unity 版本的文档。可使用多种方法在不同版本之间切换。
可通过单击每页左上角的链接在目录上方切换两个最新版本。这些链接始终跳转到主页。
在 5.6 以后的 Unity 文档版本中,可在查看单个 Unity 文档页面的同时,使用每页右侧的__其他版本 (Other Versions)__ 链接在不同页面版本之间切换。
有时,切换时可能会出现 404 错误。如果所寻找的页面在该版本的手册或脚本 API 中不存在,则会发生这种情况。如果相应版本的 Unity 中不存在相关功能,通常会如此。
早于 5.6 的文档版本没有__其他版本 (Other Versions)__ 链接。
要了解如何对 5.6 版之前的文档使用变通方法,请按照下列步骤操作:
在手册或脚本 API 主页中,使用页面左上角的主页链接切换正在查看的版本。请注意,URL 的结构会发生变化。每个版本都有一个特定的 URL:
目标 | URL |
---|---|
标准 URL | https://docs.unity3d.com/Manual/index.html |
特定于版本的 URL (2017.2) | https://docs.unity3d.com/2017.2/Documentation/Manual/ |
特定于版本的 URL (2017.1) | https://docs.unity3d.com/2017.1/Documentation/Manual/ |
特定于版本的 URL (5.6) | https://docs.unity3d.com/560/Documentation/Manual/ |
目标 | URL |
---|---|
标准 URL | https://docs.unity3d.com/ScriptReference/index.html |
特定于版本的 URL (2017.2) | https://docs.unity3d.com/2017.2/Documentation/ScriptReference/ |
特定于版本的 URL (2017.1) | https://docs.unity3d.com/2017.1/Documentation/ScriptReference/ |
特定于版本的 URL (5.6) | https://docs.unity3d.com/560/Documentation/ScriptReference/ |
现在,像往常一样浏览手册和脚本 API。如果要在版本之间切换,请更改 URL 中的数字以反映所要查看的版本。此变通方法适用于所有当前发布的文档版本。
有时,切换时可能会出现 404 错误。如果所寻找的页面在该版本的手册或脚本 API 中不存在,则会发生这种情况。如果相应版本的 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.