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:
parent
28d178c8d6
commit
95cf6afb47
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue