Why do generated classes inheriting Reference include a _ready() method?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tx350z

If I create a new script in the editor and select Reference in the “Inherits” field, the script is created with a _ready() method. Since Reference objects cannot be added to the node tree, the _ready() method seems useless. Am I missing something?

:bust_in_silhouette: Reply From: Inces

This is just helpfull template, You can select other templates when creating Script - options include default, no comments and empty. So this included ready() method doesn’t indicate that this class is even able to use it. You are correct, class inheriting reference will never get to act on ready() ;).