godot-psd-training/UI/CameraSwitch/vehicleControlRoom.tscn

44 lines
2.0 KiB
Plaintext
Raw Normal View History

2024-06-18 08:45:49 +08:00
[gd_scene load_steps=6 format=3 uid="uid://c4e1cn0qrak2v"]
2024-06-12 20:51:00 +08:00
2024-06-13 18:02:18 +08:00
[ext_resource type="StyleBox" uid="uid://d2f2wgj4omqrj" path="res://UI/CameraSwitch/CameraSwitchButtonNormal.tres" id="1_x7ttc"]
2024-06-18 08:45:49 +08:00
[ext_resource type="Script" path="res://UI/CameraSwitch/vehicleControlRoom.gd" id="1_ylqsv"]
2024-06-13 18:02:18 +08:00
[ext_resource type="StyleBox" uid="uid://c4cifub1prvg0" path="res://UI/CameraSwitch/CarmeraSwitchButtonPressed.tres" id="2_1408d"]
[ext_resource type="ButtonGroup" uid="uid://bp8jp7h6rsj7y" path="res://UI/CameraSwitch/vehicleControlRoomBG.tres" id="3_3oxh3"]
2024-06-12 20:51:00 +08:00
[ext_resource type="Texture2D" uid="uid://crh0yovojc7wq" path="res://Assets/backIcon.png" id="4_vdrwi"]
[node name="VehicleControlRoom" type="Node2D"]
2024-06-18 08:45:49 +08:00
script = ExtResource("1_ylqsv")
2024-06-12 20:51:00 +08:00
[node name="HBoxContainer" type="HBoxContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
[node name="SparePartsCabinet" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_x7ttc")
theme_override_styles/hover = ExtResource("2_1408d")
theme_override_styles/pressed = ExtResource("2_1408d")
toggle_mode = true
2024-06-18 10:22:05 +08:00
button_pressed = true
2024-06-12 20:51:00 +08:00
button_group = ExtResource("3_3oxh3")
text = "备品柜"
[node name="PartsArea" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_x7ttc")
theme_override_styles/hover = ExtResource("2_1408d")
theme_override_styles/pressed = ExtResource("2_1408d")
toggle_mode = true
button_group = ExtResource("3_3oxh3")
text = "备品区"
[node name="Back" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_x7ttc")
theme_override_styles/hover = ExtResource("2_1408d")
icon = ExtResource("4_vdrwi")
2024-06-18 08:45:49 +08:00
[connection signal="pressed" from="HBoxContainer/SparePartsCabinet" to="." method="_on_spare_parts_cabinet_pressed"]
[connection signal="pressed" from="HBoxContainer/PartsArea" to="." method="_on_parts_area_pressed"]
[connection signal="pressed" from="HBoxContainer/Back" to="." method="_on_back_pressed"]