mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Add built-in GUI to display license notices
Press Ctrl/Cmd + Shift + L (`ui_toggle_licenses_dialog` built-in action) to show/hide the notices dialog. The dialog can be shown via script using `SceneTree.licenses_dialog_visible = true|false`. Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
This commit is contained in:
parent
a3080477ac
commit
daa6198925
9 changed files with 259 additions and 0 deletions
|
|
@ -255,6 +255,9 @@
|
|||
The root of the scene currently being edited in the editor. This is usually a direct child of [member root].
|
||||
[b]Note:[/b] This property does nothing in release builds.
|
||||
</member>
|
||||
<member name="licenses_dialog_visible" type="bool" setter="set_licenses_dialog_visible" getter="is_licenses_dialog_visible" default="false">
|
||||
If [code]true[/code], shows the built-in dialog which displays Godot's third-party notices. This dialog can also be toggled by pressing the [member ProjectSettings.input/ui_toggle_licenses_dialog] built-in action. See [url=$DOCS_URL/complying_with_licenses.html]Complying with licenses[/url] in the documentation for more information.
|
||||
</member>
|
||||
<member name="multiplayer_poll" type="bool" setter="set_multiplayer_poll_enabled" getter="is_multiplayer_poll_enabled" default="true">
|
||||
If [code]true[/code] (default value), enables automatic polling of the [MultiplayerAPI] for this SceneTree during [signal process_frame].
|
||||
If [code]false[/code], you need to manually call [method MultiplayerAPI.poll] to process network packets and deliver RPCs. This allows running RPCs in a different loop (e.g. physics, thread, specific time step) and for manual [Mutex] protection when accessing the [MultiplayerAPI] from threads.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue