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 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. <