用户界面(UI)

In this section of the tutorial we explain the basics of creating a graphical user interface (GUI) in Godot.

UI 构件

Like everything else in Godot the user interface is built using nodes, specifically Control nodes. There are many different types of controls which are useful for creating specific types of GUIs. For simplicity we can separate them into two groups: content and layout.

典型的内容控件有:

典型的布局控件有:

The following pages explain the basics of using such controls.

GUI 皮肤与主题

Godot 的控件节点具有完善的皮肤/主题系统。本节中的页面将说明该系统的好处,以及如何在你的项目中启用它。

控件节点教程

以下文章涵盖了特定控件节点的具体细节。

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.