Adding autoloads from custom plugin: example in the doc is bad practice #9571
Labels
area:manual
Issues and PRs related to the Manual/Tutorials section of the documentation
discussion
enhancement
Your Godot version: 4.2.2 and 4.3.beta-2
Issue description: see the doc at link below. It shows an example of adding and removing autoloads in
_enter_tree()
,_exit_tree()
. I think this is not correct way to to do this because:The problem is much worse than it may look at the first glance, because some plugins out there already follow this bad practice.
Correct me if I'm wrong, but the proper way to add autoloads from a plugin is:
URL to the documentation page (if already existing): https://docs.godotengine.org/en/stable/tutorials/plugins/editor/making_plugins.html#registering-autoloads-singletons-in-plugins
The text was updated successfully, but these errors were encountered: