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 节点。Godot 提供了许多不同类型的控件,适用于创建各种特定类型的 GUI。为了简化,我们可以将它们分为两类:内容控件和布局控件。
典型的内容控件有:
典型的布局控件有:
下面的页面介绍了这些控件的基本用法。
GUI 外观与主题
Godot 的控件节点具有完善的外观/主题系统。本节中的页面将说明该系统的好处,以及如何在你的项目中启用它。
控件节点教程
以下文章涵盖了特定控件节点的具体细节。
创建应用程序
Godot 也可以用来创建应用程序(而不仅仅是游戏)。