1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Added a get_global() method in ExtensionsAPI

In case an extension needs to use properties that can only be found in Global, such as a setting in the Preferences.
This commit is contained in:
Emmanouil Papadeas 2022-07-14 18:22:19 +03:00
parent 28d178c8d6
commit 95cf6afb47

View file

@ -12,6 +12,10 @@ func dialog_open(open: bool) -> void:
Global.dialog_open(open)
func get_global() -> Global:
return Global
func get_extensions_node() -> Node:
return Global.control.get_node("Extensions")