Is a collection of utilities dealing with themes for developing consistent plugin UIs.
- Copy the contents of this folder into
res://addons/gdquest_theme_utils/
. - Profit.
- Install gd-plug using the Godot Asset Library.
- Save the following code into the file
res://plug.gd
(create the file if necessary):
#!/usr/bin/env -S godot --headless --script
extends "res://addons/gd-plug/plug.gd"
func _plugging() -> void:
plug(
"[email protected]:GDQuest/godot-addons.git",
{include = ["addons/gdquest_theme_utils"]}
)
- On Linux, make the
res://plug.gd
script executable withchmod +x plug.gd
. - Using the command line, run
./plug.gd install
orgodot --headless --script plug.gd install
.
These functions are extracted from theme utils in Godot Tours.