A script implemented in the GDScript programming language.
The script exends the functionality of all objects that instance it.
_new creates a new instance of the script. GodotObject.setScript extends an existing object, if that object's class matches one of the script's base classes.
A script implemented in the GDScript programming language.
The script exends the functionality of all objects that instance it. _new creates a new instance of the script. GodotObject.setScript extends an existing object, if that object's class matches one of the script's base classes.