This plugin shows you a list of possible errors, caused by configuration of Node-properties.
The rules for the warnings are store in a json-file. At the root of the json is an object. The class name of each Godot-Node that should be checked is a key for the corresponding rules-dict, which contains rules for each property to check.
The following rules file checks every RayCast2D Node in the current scene (and ever node inheriting from RayCast2D).
If any of the checked Nodes has the value of the property enable
set to false, a warning will be shown in the warning list.
The description is shown as a tooltip when hovering over the warning.
{
"RayCast2D": {
"property": "enable",
"critical_value": false,
"description": "RayCasts will not collide with bodies while not enabled."
}
}
-
CollisionPolygon2D: disabled
-
CollisionPolygon: disabled
-
CollisionShape2D: disabled
-
CollisionShape: disabled
-
RayCast2D: enable
-
RayCast: enable