2024-06-21 09:55:02 +08:00
|
|
|
[gd_scene load_steps=10 format=3 uid="uid://cug8qjy51yafw"]
|
2024-06-13 18:02:18 +08:00
|
|
|
|
2024-06-21 08:45:56 +08:00
|
|
|
[ext_resource type="Script" path="res://UI/ShortcutTool/shortcutTool.gd" id="1_4mlqa"]
|
2024-06-13 18:02:18 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://bfsm3drlyvjbo" path="res://Assets/tool.png" id="1_x2804"]
|
|
|
|
[ext_resource type="StyleBox" uid="uid://jpisci6v4xpk" path="res://UI/ShortcutTool/shortcutToolButton.tres" id="2_7rp77"]
|
2024-06-21 09:55:02 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://b31l507x0hj0w" path="res://Assets/shortcutTool/电扶梯钥匙.png" id="4_k0i5y"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d4dvknuw3cv3" path="res://Assets/shortcutTool/手提广播.png" id="5_ke6yi"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bxxba4vjla0te" path="res://Assets/shortcutTool/围挡.png" id="6_wgpls"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cmhrouhc2gln6" path="res://Assets/shortcutTool/警戒线.png" id="7_pfgqd"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cj4whmxj7wv6v" path="res://Assets/shortcutTool/铁马.png" id="8_kxstf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dp1qa4u1c5jan" path="res://Assets/shortcutTool/警示牌.png" id="9_3bsby"]
|
2024-06-13 18:02:18 +08:00
|
|
|
|
|
|
|
[node name="ShortcutTool" type="Node2D"]
|
2024-06-21 08:45:56 +08:00
|
|
|
script = ExtResource("1_4mlqa")
|
2024-06-13 18:02:18 +08:00
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
|
offset_right = 610.0
|
|
|
|
offset_bottom = 67.0
|
|
|
|
color = Color(0.298039, 0.321569, 0.345098, 1)
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
|
|
offset_right = 610.0
|
|
|
|
offset_bottom = 67.0
|
|
|
|
theme_override_constants/margin_left = 0
|
|
|
|
theme_override_constants/margin_top = 12
|
|
|
|
theme_override_constants/margin_right = 6
|
|
|
|
theme_override_constants/margin_bottom = 12
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="BoxContainer" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 6
|
|
|
|
size_flags_vertical = 4
|
|
|
|
size_flags_stretch_ratio = 1.08
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="MarginContainer/HBoxContainer/MarginContainer"]
|
|
|
|
scale = Vector2(0.18, 0.18)
|
|
|
|
texture = ExtResource("1_x2804")
|
|
|
|
|
|
|
|
[node name="BoxContainer" type="BoxContainer" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_stretch_ratio = 1.78
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/BoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "快捷工具"
|
|
|
|
|
2024-06-21 08:45:56 +08:00
|
|
|
[node name="escalatorKey" type="Button" parent="MarginContainer/HBoxContainer"]
|
2024-06-13 18:02:18 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
icon = ExtResource("4_k0i5y")
|
|
|
|
icon_alignment = 1
|
2024-06-13 18:02:18 +08:00
|
|
|
|
2024-06-21 08:45:56 +08:00
|
|
|
[node name="handheldRadio" type="Button" parent="MarginContainer/HBoxContainer"]
|
2024-06-21 09:55:02 +08:00
|
|
|
visible = false
|
2024-06-13 18:02:18 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
icon = ExtResource("5_ke6yi")
|
|
|
|
icon_alignment = 1
|
2024-06-13 18:02:18 +08:00
|
|
|
|
2024-06-21 08:45:56 +08:00
|
|
|
[node name="hoarding" type="Button" parent="MarginContainer/HBoxContainer"]
|
2024-06-21 09:55:02 +08:00
|
|
|
visible = false
|
2024-06-13 18:02:18 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
icon = ExtResource("6_wgpls")
|
|
|
|
icon_alignment = 1
|
2024-06-13 18:02:18 +08:00
|
|
|
|
2024-06-21 08:45:56 +08:00
|
|
|
[node name="picketline" type="Button" parent="MarginContainer/HBoxContainer"]
|
2024-06-21 09:55:02 +08:00
|
|
|
visible = false
|
2024-06-13 18:02:18 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
icon = ExtResource("7_pfgqd")
|
|
|
|
icon_alignment = 1
|
2024-06-13 18:02:18 +08:00
|
|
|
|
2024-06-21 08:45:56 +08:00
|
|
|
[node name="metalBarrier" type="Button" parent="MarginContainer/HBoxContainer"]
|
2024-06-21 09:55:02 +08:00
|
|
|
visible = false
|
2024-06-13 18:02:18 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
icon = ExtResource("8_kxstf")
|
|
|
|
icon_alignment = 1
|
2024-06-13 18:02:18 +08:00
|
|
|
|
2024-06-21 08:45:56 +08:00
|
|
|
[node name="noticeSigns" type="Button" parent="MarginContainer/HBoxContainer"]
|
2024-06-21 09:55:02 +08:00
|
|
|
visible = false
|
2024-06-13 18:02:18 +08:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
icon = ExtResource("9_3bsby")
|
|
|
|
icon_alignment = 1
|
2024-06-13 18:02:18 +08:00
|
|
|
|
|
|
|
[node name="Button7" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
2024-06-13 18:02:18 +08:00
|
|
|
|
|
|
|
[node name="Button8" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
2024-06-13 18:02:18 +08:00
|
|
|
|
|
|
|
[node name="Button9" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
2024-06-13 18:02:18 +08:00
|
|
|
|
|
|
|
[node name="Button10" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
2024-06-21 09:55:02 +08:00
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="escalatorKeyT" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
visible = false
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/normal = ExtResource("2_7rp77")
|
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="handheldRadioT" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="hoardingT" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="picketlineT" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="metalBarrierT" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
|
|
|
|
|
|
|
[node name="noticeSignsT" type="Button" parent="MarginContainer/HBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_override_styles/disabled = ExtResource("2_7rp77")
|
|
|
|
disabled = true
|
2024-06-21 08:45:56 +08:00
|
|
|
|
|
|
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/escalatorKey" to="." method="_on_escalator_key_pressed"]
|
|
|
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/handheldRadio" to="." method="_on_handheld_radio_pressed"]
|
|
|
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/hoarding" to="." method="_on_hoarding_pressed"]
|
2024-06-21 09:55:02 +08:00
|
|
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/picketline" to="." method="_on_picketline_pressed"]
|
2024-06-21 08:45:56 +08:00
|
|
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/metalBarrier" to="." method="_on_metal_barrier_pressed"]
|
|
|
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/noticeSigns" to="." method="_on_notice_signs_pressed"]
|