16 lines
478 B
Text
16 lines
478 B
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://objects/environment/tube/tube_exit.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 4, 4 )
|
|
|
|
[node name="TubeExit" type="Area2D"]
|
|
monitorable = false
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 4, 4 )
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="area_entered" from="." to="." method="_on_TubeExit_area_entered"]
|