Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

使用者介面 (UI)

在本教學的這一部分中,我們將解釋在 Godot 中建立圖形使用者介面 (GUI) 的基礎知識。

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.

典型的內容控制項有:

典型的佈局控制項有:

以下文章涵蓋了特定控制項節點的具體細節。

GUI 皮膚與主題

Godot 的控制項節點具有完善的皮膚/主題系統。本節中的頁面將說明該系統的好處,以及如何在你的專案中啟用它。

命令行教學

以下文章涵蓋了特定控制項節點的具體細節。