Adds a preset interface that shows an interactive list of all licenses. Custom licenses can be added through the GodotLicensing singleton.
Use the GodotLicensing
singleton to add custom copyrights and licenses (see below).
Use the LicensingInterface
node to show all copyrights and licenses to users.
Note: It is recommended to set display/window/stretch
such that the full interface shows on all resolutions. For example, set mode
to canvas_items
and aspect
to stretch
.
Note: LicensingInterface
has a minimum size of 256px
× 256px
.
Example copyright with license:
GodotLicensing.add_copyright({
&"name": "Example",
&"parts": [{
&"copyright": [
"2024 Example"
],
&"license": "Example",
}],
})
GodotLicensing.add_license({
&"name": "Example",
&"text": "Example text",
})
Example copyright without license:
GodotLicensing.add_copyright({
&"name": "Example",
&"parts": [{
&"copyright": [
"2024 Example"
],
}],
})
This is free and unencumbered software released into the public domain. See LICENSE for details.