mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-22 16:14:22 +00:00
Connect debug print signal in Connectable
This commit is contained in:
parent
c0055761a4
commit
0bb9d427e9
1 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,10 @@ radius = 16.4012
|
||||||
[node name="Collectable" type="Node2D"]
|
[node name="Collectable" type="Node2D"]
|
||||||
script = ExtResource("1_p0pc3")
|
script = ExtResource("1_p0pc3")
|
||||||
|
|
||||||
[node name="CollectArea" type="Area2D" parent="."]
|
[node name="MouseArea" type="Area2D" parent="."]
|
||||||
|
|
||||||
[node name="Shape" type="CollisionShape2D" parent="CollectArea"]
|
[node name="Shape" type="CollisionShape2D" parent="MouseArea"]
|
||||||
shape = SubResource("CircleShape2D_su28r")
|
shape = SubResource("CircleShape2D_su28r")
|
||||||
|
|
||||||
|
[connection signal="collected" from="." to="." method="_on_collected"]
|
||||||
|
[connection signal="mouse_entered" from="MouseArea" to="." method="_on_mouse_area_mouse_entered"]
|
||||||
|
|
Loading…
Reference in a new issue