godot-module-template/engine/modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd

5 lines
131 B
GDScript
Raw Normal View History

2025-01-17 15:36:38 +00:00
func test():
var unused = "not used"
var _unused = "not used, but no warning since the variable name starts with an underscore"