blob: 61517d0ec2e44ab6983964e9d045a842d65146b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[gd_scene load_steps=3 format=3 uid="uid://ic2hc7gr27p3"]
[ext_resource type="Script" path="res://Game/Selection/selection_rectangle.gd" id="1_on0pa"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nq6xv"]
size = Vector2(1, 1)
[node name="SelectionRectangle" type="Area2D" groups=["selection_rectangle"]]
z_index = 1
collision_layer = 16
collision_mask = 32
script = ExtResource("1_on0pa")
color_background = Color(0.0823529, 0.392157, 0.203922, 0.392157)
color_border = Color(0.0823529, 1, 0.203922, 0.501961)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_nq6xv")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="area_exited" from="." to="." method="_on_area_exited"]
|