Godot Modal Window / 中文
-
Supports stacked multiple windows
-
Supports enabling/disabling background click to close the window
-
Supports method chaining, e.g.,
win.a().b().c() -
Supports fully customizable window UI skins
-
Supports button signals
-
Supports
awaitto wait for the modal window to close, e.g.,await win.wait_to_close() print("The window has closed")
- Automatically switches button focus between multiple windows
- Allows developers to manage focus manually
Download this project locally and run the example scene.
- Download the 🔗latest stable version plugin zip, extract it, and place it in the Addons folder of your Godot project, e.g.,
/project/addons/modal_window - Search for "Modal Window" in the Godot editor's Asset Library to install
- Enable the ModalWindow addon
- Create a window using
ModalWindowManager.create('Content', 'Title')
-
Globally
ModalWindowManager.global_preset = packed_scene -
For a single window
ModalWindowManager.create('content', 'title', packed_scene)
- Web
- Windows
- Linux
- Android
- iOS
⚠️ Please refer to the 🔗Custom Preset Scene for the node naming conventions to create custom window scenes.
- Write documentation