20 lines
671 B
Text
20 lines
671 B
Text
[gd_scene load_steps=3 format=3 uid="uid://bdtjnmjopi5h2"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/PlayZone.cs" id="1_k3xi5"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1bby8"]
|
|
size = Vector2(2, 1)
|
|
|
|
[node name="PlayZone" type="Node2D"]
|
|
script = ExtResource("1_k3xi5")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
collision_layer = 4
|
|
collision_mask = 4
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
shape = SubResource("RectangleShape2D_1bby8")
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="BodyEntered"]
|
|
[connection signal="body_exited" from="Area2D" to="." method="BodyExited"]
|