Document registering an autoload when an editor plugin is enabled

(cherry picked from commit 9baaf4dc42)
This commit is contained in:
Hugo Locurcio
2022-08-24 19:33:01 +02:00
committed by Rémi Verschelde
parent d3ab337a33
commit 9cda43e809
2 changed files with 38 additions and 0 deletions

View File

@@ -40,6 +40,12 @@ Autoloading nodes and scripts can give us these characteristics.
Godot won't make an AutoLoad a "true" singleton as per the singleton design
pattern. It may still be instanced more than once by the user if desired.
.. tip::
If you're creating an autoload as part of an editor plugin, consider
:ref:`registering it automatically in the Project Settings <doc_making_plugins_autoload>`
when the plugin is enabled.
AutoLoad
--------