unity3d画布切换_了解Unity 3D画布

本文介绍了Unity 3D中的Canvas组件,它是游戏中的UI元素区域。Canvas的Render Mode有屏幕空间-覆盖、屏幕空间和世界空间三种模式,分别适用于不同类型的UI需求。屏幕空间-覆盖模式适用于HUD等静态元素,自动缩放适应屏幕。世界空间模式则允许UI元素成为场景的一部分。
摘要由CSDN通过智能技术生成

unity3d画布切换

The Canvas in Unity isn't a big painting board on a wooden frame. The Canvas is actually an area in the game where you can draw UI elements.

Unity中的画布不是木制框架上的大画板。 画布实际上是游戏中可以绘制UI元素的区域。

What are UI elements? UI elements are simply elements in the game (and most often, on the screen) that relay useful information to the player. These are usually persistent in their presence. One of the best examples of a UI element is a score counter, or a health meter etc.

什么是UI元素? UI元素只是游戏中(通常是屏幕上)的元素,可以将有用的信息传递给玩家。 这些通常在它们存在时是持久的。 UI元素的最佳示例之一是得分计数器或健康状况表等。

Unity Game Canvas

Unity 3D画布和UI元素 (Unity 3D Canvas and UI Elements)

UI elements are what form Pause menus, Main menus, HUDs or Heads-Up Displays, Score counters and so on. In this tutorial, we'll discuss a bit about how the Canvas works, and in the next tutorial, we'll get on with adding our own UI elements into our game. <

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值