godot-psd-training/UI/screenDoorOperate/screen_door_operate.tscn
2024-04-30 16:02:08 +08:00

63 lines
3.0 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://blsv4lgybr3nc"]
[ext_resource type="Script" path="res://UI/screenDoorOperate/screen_door_operate.gd" id="1_2p52y"]
[ext_resource type="Texture2D" uid="uid://c8lwj1sqanx5l" path="res://Assets/screenDoorOperate/胶带.png" id="1_pc0lg"]
[ext_resource type="Texture2D" uid="uid://co57dk4piito4" path="res://Assets/screenDoorOperate/隔离带.png" id="2_k5cyw"]
[node name="ScreenDoorOperate" type="Window"]
title = "屏蔽门操作"
position = Vector2i(10, 36)
size = Vector2i(137, 95)
wrap_controls = true
script = ExtResource("1_2p52y")
[node name="PanelContainer" type="PanelContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = 15
theme_override_constants/margin_right = 15
theme_override_constants/margin_bottom = 15
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_top = 15
theme_override_constants/margin_bottom = 15
[node name="AdhesiveTape" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape"]
layout_mode = 2
texture = ExtResource("1_pc0lg")
expand_mode = 2
stretch_mode = 5
[node name="贴胶带" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape"]
layout_mode = 2
text = "贴胶带"
[node name="IsolationStrip" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="TextureRect2" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip"]
layout_mode = 2
texture = ExtResource("2_k5cyw")
expand_mode = 2
[node name="隔离带" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip"]
layout_mode = 2
text = "放置隔离带"
[connection signal="gui_input" from="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape" to="." method="_on_adhesive_tape_gui_input"]
[connection signal="mouse_entered" from="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape" to="." method="_on_adhesive_tape_mouse_entered"]
[connection signal="mouse_exited" from="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape" to="." method="_on_adhesive_tape_mouse_exited"]
[connection signal="gui_input" from="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip" to="." method="_on_isolation_strip_gui_input"]
[connection signal="mouse_entered" from="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip" to="." method="_on_isolation_strip_mouse_entered"]
[connection signal="mouse_exited" from="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip" to="." method="_on_isolation_strip_mouse_exited"]