GodotCourse/examples/PlatformTemplate/scenes/areatrigger.tscn

12 lines
511 B
Plaintext
Raw Permalink Normal View History

2024-07-15 12:00:42 +00:00
[gd_scene load_steps=2 format=3 uid="uid://dt2rusldupc6v"]
[ext_resource type="Script" path="res://scripts/areatrigger.gd" id="1_dx3rr"]
[node name="Area2D" type="Area2D"]
script = ExtResource("1_dx3rr")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="area_exited" from="." to="." method="_on_area_exited"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]