fix: connect Background gui_input to close overlay on outside click
This commit is contained in:
@@ -1,28 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://1406xmcnkygw0"]
|
||||
[gd_scene format=3 uid="uid://dxkyfas46q7ef"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://2x3g0ethsdcgo" path="res://inventory/inventory_backpack/InventoryBackpack.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://v8du0eptw65c" path="res://inventory/inventory_backpack/InventoryBackpack.gd" id="1"]
|
||||
|
||||
[node name="InventoryBackpack" type="Control" unique_id=1000000001]
|
||||
layout_mode = 0
|
||||
layout_mode = 3
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -70.0
|
||||
offset_right = 70.0
|
||||
offset_bottom = 70.0
|
||||
grow_vertical = 0
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="BackpackIcon" type="ColorRect" parent="." unique_id=1000000002]
|
||||
layout_mode = 0
|
||||
offset_left = 0.0
|
||||
offset_top = 0.0
|
||||
offset_right = 60.0
|
||||
offset_bottom = 60.0
|
||||
mouse_filter = 1
|
||||
color = Color(0.4, 0.6, 0.9, 1)
|
||||
|
||||
[node name="FloatingItem" type="ColorRect" parent="." unique_id=1000000003]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
offset_left = 20.0
|
||||
offset_top = -30.0
|
||||
offset_right = 50.0
|
||||
offset_bottom = 0.0
|
||||
color = Color(1, 0.6, 0.2, 1)
|
||||
visible = false
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1000000004]
|
||||
|
||||
Reference in New Issue
Block a user