File tree Expand file tree Collapse file tree 5 files changed +4
-9
lines changed
addons/block_code/blocks/communication Expand file tree Collapse file tree 5 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ category = "Communication | Methods"
1111type = 1
1212variant_type = 0
1313display_template = "when this node collides with [something: OBJECT]"
14- code_template = "func _on_body_entered(something: Node2D):
15- "
14+ code_template = "func _on_body_entered(something: Node2D):"
1615defaults = {}
1716signal_name = "body_entered"
1817scope = ""
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ category = "Communication | Methods"
1111type = 1
1212variant_type = 0
1313display_template = "when this node stops colliding with [something: OBJECT]"
14- code_template = "func _on_body_exited(something: Node2D):
15- "
14+ code_template = "func _on_body_exited(something: Node2D):"
1615defaults = {}
1716signal_name = "body_exited"
1817scope = ""
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ category = "Communication | Methods"
1111type = 1
1212variant_type = 0
1313display_template = "when this node collides with [something: OBJECT]"
14- code_template = "func _on_body_entered(something: Node2D):
15- "
14+ code_template = "func _on_body_entered(something: Node2D):"
1615defaults = {}
1716signal_name = "body_entered"
1817scope = ""
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ category = "Communication | Methods"
1111type = 1
1212variant_type = 0
1313display_template = "when this node stops colliding with [something: OBJECT]"
14- code_template = "func _on_body_exited(something: Node2D):
15- "
14+ code_template = "func _on_body_exited(something: Node2D):"
1615defaults = {}
1716signal_name = "body_exited"
1817scope = ""
Original file line number Diff line number Diff line change @@ -232,7 +232,6 @@ func test_signal_script():
232232 body_entered.connect(_on_body_entered)
233233
234234 func _on_body_entered(something: Node2D):
235-
236235 print('Body entered!')
237236
238237 """
You can’t perform that action at this time.
0 commit comments