mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +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)
|
Global.dialog_open(open)
|
||||||
|
|
||||||
|
|
||||||
|
func get_global() -> Global:
|
||||||
|
return Global
|
||||||
|
|
||||||
|
|
||||||
func get_extensions_node() -> Node:
|
func get_extensions_node() -> Node:
|
||||||
return Global.control.get_node("Extensions")
|
return Global.control.get_node("Extensions")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue