1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 17:44:24 +00:00

Connect debug print signal in Connectable

This commit is contained in:
Steffo 2024-04-13 23:28:17 +02:00
parent c0055761a4
commit 0bb9d427e9
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -8,7 +8,10 @@ radius = 16.4012
[node name="Collectable" type="Node2D"]
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")
[connection signal="collected" from="." to="." method="_on_collected"]
[connection signal="mouse_entered" from="MouseArea" to="." method="_on_mouse_area_mouse_entered"]