mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
gdscript_basics missing double quotes
(cherry picked from commit 2d84bba7e2)
This commit is contained in:
committed by
Rémi Verschelde
parent
aa0305ae23
commit
5015e602bd
@@ -1540,14 +1540,14 @@ Extending a previous example to use all the features of GDScript signals:
|
||||
|
||||
func _process(delta):
|
||||
if delta == your_data:
|
||||
emit_signal("data_found", data)
|
||||
emit_signal("data_found", your_data)
|
||||
|
||||
::
|
||||
|
||||
# your_handler.gd
|
||||
|
||||
func your_handler(data, obj):
|
||||
print("Your handler was called from: ", obj.get_name(), with data: ", data)
|
||||
print("Your handler was called from: ", obj.get_name(), " with data: ", data)
|
||||
|
||||
::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user