UI Builder 用于以可视化方式创建和编辑 UI 资源,如 UI 文档(.uxml 文件)和样式表(.uss 文件),您可以使用 Unity 的 UI 工具包(以前称为 UIElements)。
要打开 UI Builder 窗口,请从菜单中选择 Window > UI 工具包 > UI Builder。
注意:在 Unity 2019.x 中,可以从 Window > UI > UI Builder 菜单打开 UI Builder。
注意:UI Builder 是 UI 工具包的可视化创作工具。它不包括运行时支持。要在 Unity 2020.1 及更高版本中启用运行时支持,请安装 UI 工具包。有关详细信息,请参阅 UI Builder 包文档。
以下包版本可能无法安全地在实际生产中与 Unity 2020.2 版本搭配使用:
文档位置: | 可用版本: |
---|---|
com.unity.ui.builder@1.0 | 1.0.0-preview.7 1.0.0-preview.6 1.0.0-preview.5 1.0.0-preview.4 1.0.0-preview.3 1.0.0-preview.2 1.0.0-preview.1 |
com.unity.ui.builder@0.11 | 0.11.2-preview 0.11.1-preview 0.11.0-preview |
com.unity.ui.builder@0.10 | 0.10.2-preview 0.10.1-preview 0.10.0-preview |
com.unity.ui.builder@0.9 | 0.9.0-preview |
com.unity.ui.builder@0.8 | 0.8.4-preview 0.8.3-preview 0.8.2-preview 0.8.1-preview 0.8.0-preview |
com.unity.ui.builder@0.7 | 0.7.0-preview |
com.unity.ui.builder@0.6 | 0.6.2-preview 0.6.1-preview |
com.unity.ui.builder@0.5 | 0.5.8-preview 0.5.7-preview |
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.