1cc7e7ec33
Autoloaded scripts should always inherit from Node. When you run a project that tries to autoload a script which doesn’t inherit from Node, then Godot gives an error. Before this change, the error said “Script does not inherit a Node”. That error message is a little bit misleading. If a class inherits a Node, then one of its superclasses has a Node. If a class inherits _from_ Node, then one of its superclasses is Node. This change corrects that mistake. Fixes #59884. |
||
---|---|---|
.. | ||
scripts | ||
gdscript_test_runner.cpp | ||
gdscript_test_runner.h | ||
gdscript_test_runner_suite.h | ||
README.md | ||
test_gdscript.cpp | ||
test_gdscript.h |
GDScript integration tests
The scripts/
folder contains integration tests in the form of GDScript files
and output files.
See the Integration tests for GDScript documentation for information about creating and running GDScript integration tests.