godot-module-template/engine/modules/gdscript/tests/scripts/analyzer/warnings/unused_signal.gd

13 lines
140 B
GDScript
Raw Normal View History

2025-01-17 15:36:38 +00:00
signal s1()
signal s2()
signal s3()
@warning_ignore("unused_signal")
signal s4()
func no_exec():
s1.emit()
print(s2)
func test():
pass