Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
用户界面(UI)
在本教程的这一部分,我们将介绍在Godot中创建图形用户界面(GUI)的基本概念。
UI 构件
像 Godot 中的其他所有内容一样,用户界面是使用节点构建的,特别是 Control 节点。有许多不同类型的控件对于创建特定类型的 GUI 非常有用。为了简化,我们可以将它们分为两组:内容和布局。
典型的内容控件有:
典型的布局控件有:
下面的页面介绍了这些控件的基本用法。
GUI 外观与主题
Godot 的控件节点具有完善的外观/主题系统。本节中的页面将说明该系统的好处,以及如何在你的项目中启用它。
控件节点教程
以下文章涵盖了特定控件节点的具体细节。