[gd_scene load_steps=5 format=3 uid="uid://5s78rigi2rhw"] [ext_resource type="StyleBox" uid="uid://d2f2wgj4omqrj" path="res://UI/CameraSwitch/CameraSwitchButtonNormal.tres" id="1_sru6n"] [ext_resource type="Script" path="res://UI/CameraSwitch/cameraSwitch.gd" id="1_t6m5l"] [ext_resource type="StyleBox" uid="uid://c4cifub1prvg0" path="res://UI/CameraSwitch/CarmeraSwitchButtonPressed.tres" id="2_h26dt"] [ext_resource type="ButtonGroup" uid="uid://ybti5fpi5kns" path="res://UI/CameraSwitch/CameraSwitchButtonGroup.tres" id="3_00rvc"] [node name="CameraSwitch" type="Node2D"] script = ExtResource("1_t6m5l") [node name="HBoxContainer" type="HBoxContainer" parent="."] offset_right = 800.0 offset_bottom = 40.0 size_flags_vertical = 0 [node name="VehicleControlRoom" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "车控室" [node name="StationHall" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "站厅" [node name="UpPlatform" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "上行站台" [node name="DownPlatform" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "下行站台" [node name="APassageway" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "A出入口" [node name="BPassageway" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "B出入口" [node name="CPassageway" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "C出入口" [node name="DPassageway" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "D出入口" [node name="StaionHallA" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "站厅A端" [node name="StationHallB" type="Button" parent="HBoxContainer"] layout_mode = 2 theme_override_styles/normal = ExtResource("1_sru6n") theme_override_styles/hover = ExtResource("2_h26dt") theme_override_styles/pressed = ExtResource("2_h26dt") toggle_mode = true button_group = ExtResource("3_00rvc") text = "站厅B端" [connection signal="pressed" from="HBoxContainer/VehicleControlRoom" to="." method="_on_vehicle_control_room_pressed"] [connection signal="pressed" from="HBoxContainer/StationHall" to="." method="_on_station_hall_pressed"] [connection signal="pressed" from="HBoxContainer/UpPlatform" to="." method="_on_up_platform_pressed"] [connection signal="pressed" from="HBoxContainer/DownPlatform" to="." method="_on_down_platform_pressed"] [connection signal="pressed" from="HBoxContainer/APassageway" to="." method="_on_a_passageway_pressed"] [connection signal="pressed" from="HBoxContainer/BPassageway" to="." method="_on_b_passageway_pressed"] [connection signal="pressed" from="HBoxContainer/CPassageway" to="." method="_on_c_passageway_pressed"] [connection signal="pressed" from="HBoxContainer/DPassageway" to="." method="_on_d_passageway_pressed"] [connection signal="pressed" from="HBoxContainer/StaionHallA" to="." method="_on_staion_hall_a_pressed"] [connection signal="pressed" from="HBoxContainer/StationHallB" to="." method="_on_station_hall_b_pressed"]