图层是一种工具,可以用于将场景中的游戏对象Unity 场景中的基本对象,可以代表角色、道具、场景、相机、航点等等。游戏对象的功用由附加在其上的组件定义。 更多信息
参见 术语表分离。您可以通过UI(用户界面) 允许用户与您的应用程序交互。Unity 目前支持三种 UI 系统。 更多信息
参见 术语表和脚本一段代码,允许您创建自己的组件、触发游戏事件、随时间推移修改组件属性,并以任何您喜欢的方式响应用户输入。 更多信息
参见 术语表来编辑场景中游戏对象之间的交互方式。场景场景包含您游戏的环境和菜单。将每个独特的场景文件视为一个独特关卡。在每个场景中,您放置环境、障碍物和装饰品,本质上是设计和构建您的游戏。 更多信息
参见 术语表
您可以从视图选项叠加层中选择在场景视图您正在创建的世界中的交互式视图。您可以使用场景视图来选择和放置场景、角色、相机、灯光以及所有其他类型的游戏对象。 更多信息
参见 术语表中显示的图层。
主题 | 描述 |
---|---|
Unity 中图层的用途 | 了解 Unity 中图层的常见应用。 |
在 Unity 中创建功能性图层 | 如何在 Unity 中创建图层并将游戏对象分配给图层。 |
基于图层的碰撞检测 | 如何在配置碰撞当物理引擎检测到两个游戏对象的碰撞器发生接触或重叠时,就会发生碰撞,前提是至少一个游戏对象具有刚体组件并且正在运动。 更多信息 参见 术语表时使用图层。 |
图层和图层掩码 | 通过图层掩码将图层连接到 Unity API 的资源。 |
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.