diff --git a/GDscript-Autoloads.md b/GDscript-Autoloads.md new file mode 100644 index 0000000..b86bad0 --- /dev/null +++ b/GDscript-Autoloads.md @@ -0,0 +1,14 @@ +```gd +onready var util = get_node("/root/Util") +``` +File util.gd + +Contains common helper functions that can be used in multiple places in the codebase + +```gd +onready var global_event_bus = get_node("/root/GlobalEventBus") +``` +File: global_event_bus +Usage Example: effects/SinkBlock.gd + +A place to put signals that need to be sent to between objects that don't share a scene \ No newline at end of file