toutGlobalement
This commit is contained in:
17
scene/door.tscn
Normal file
17
scene/door.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bmt2uv41t2dte"]
|
||||
|
||||
[ext_resource type="Script" path="res://script/Door.cs" id="1_xvwbq"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_aityf"]
|
||||
radius = 32.0
|
||||
|
||||
[node name="door" type="Node2D"]
|
||||
script = ExtResource("1_xvwbq")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource("CircleShape2D_aityf")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="BodyEntered"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="BodyExited"]
|
||||
Reference in New Issue
Block a user