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

54 lines
2.4 KiB
Plaintext
Raw Normal View History

2024-06-18 08:45:49 +08:00
[gd_scene load_steps=6 format=3 uid="uid://dpqc5c4367k2t"]
2024-06-12 20:51:00 +08:00
2024-06-18 08:45:49 +08:00
[ext_resource type="Script" path="res://UI/CameraSwitch/cPassageway.gd" id="1_5iuyw"]
2024-06-13 18:02:18 +08:00
[ext_resource type="StyleBox" uid="uid://d2f2wgj4omqrj" path="res://UI/CameraSwitch/CameraSwitchButtonNormal.tres" id="1_rvdos"]
[ext_resource type="StyleBox" uid="uid://c4cifub1prvg0" path="res://UI/CameraSwitch/CarmeraSwitchButtonPressed.tres" id="2_x00po"]
[ext_resource type="ButtonGroup" uid="uid://b2be0xeb2oqvp" path="res://UI/CameraSwitch/cPassagewayBG.tres" id="3_mnqou"]
2024-06-12 20:51:00 +08:00
[ext_resource type="Texture2D" uid="uid://crh0yovojc7wq" path="res://Assets/backIcon.png" id="4_yjryb"]
[node name="CPassageway" type="Node2D"]
2024-06-18 08:45:49 +08:00
script = ExtResource("1_5iuyw")
2024-06-12 20:51:00 +08:00
[node name="HBoxContainer" type="HBoxContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
[node name="StationHallCExit" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_rvdos")
theme_override_styles/hover = ExtResource("2_x00po")
theme_override_styles/pressed = ExtResource("2_x00po")
toggle_mode = true
button_group = ExtResource("3_mnqou")
text = "站厅C出口"
[node name="CEntrance" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_rvdos")
theme_override_styles/hover = ExtResource("2_x00po")
theme_override_styles/pressed = ExtResource("2_x00po")
toggle_mode = true
button_group = ExtResource("3_mnqou")
2024-06-18 10:22:05 +08:00
text = "C入口"
2024-06-12 20:51:00 +08:00
[node name="CPassage" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_rvdos")
theme_override_styles/hover = ExtResource("2_x00po")
theme_override_styles/pressed = ExtResource("2_x00po")
toggle_mode = true
button_group = ExtResource("3_mnqou")
2024-06-18 10:22:05 +08:00
text = "C口通道"
2024-06-12 20:51:00 +08:00
[node name="Back" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_rvdos")
theme_override_styles/hover = ExtResource("2_x00po")
theme_override_styles/pressed = ExtResource("2_x00po")
icon = ExtResource("4_yjryb")
2024-06-18 08:45:49 +08:00
[connection signal="pressed" from="HBoxContainer/StationHallCExit" to="." method="_on_station_hall_c_exit_pressed"]
[connection signal="pressed" from="HBoxContainer/CEntrance" to="." method="_on_c_entrance_pressed"]
[connection signal="pressed" from="HBoxContainer/CPassage" to="." method="_on_c_passage_pressed"]
[connection signal="pressed" from="HBoxContainer/Back" to="." method="_on_back_pressed"]