86 lines
2.9 KiB
Plaintext
86 lines
2.9 KiB
Plaintext
|
[gd_scene load_steps=9 format=3 uid="uid://ur86pfy4w0so"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://UI/psl/key_switch.gd" id="1_dkl8d"]
|
||
|
[ext_resource type="Texture2D" uid="uid://7aq7b45v8ubb" path="res://Assets/psl/按钮背景.png" id="1_ft2a2"]
|
||
|
[ext_resource type="Texture2D" uid="uid://lr1gcgtutatw" path="res://Assets/psl/指示灯_红.png" id="3_d617q"]
|
||
|
[ext_resource type="Texture2D" uid="uid://bw10gny5v6s5m" path="res://Assets/psl/指示灯亮_红.png" id="4_hp6yx"]
|
||
|
[ext_resource type="Texture2D" uid="uid://ba8byksb7lxhd" path="res://Assets/psl/钥匙孔.png" id="5_7s053"]
|
||
|
[ext_resource type="Texture2D" uid="uid://csenwwkcbfcej" path="res://Assets/psl/钥匙.png" id="5_ptmia"]
|
||
|
[ext_resource type="Texture2D" uid="uid://b7j3msd4bw0im" path="res://Assets/LCB_Arrow.svg" id="6_s6bbn"]
|
||
|
[ext_resource type="Script" path="res://UI/psl/key_right_rotate.gd" id="8_sbs8q"]
|
||
|
|
||
|
[node name="KeySwitch" type="VBoxContainer"]
|
||
|
script = ExtResource("1_dkl8d")
|
||
|
|
||
|
[node name="Light" type="TextureRect" parent="."]
|
||
|
layout_mode = 2
|
||
|
focus_mode = 2
|
||
|
texture = ExtResource("1_ft2a2")
|
||
|
|
||
|
[node name="closeLight" type="Sprite2D" parent="Light"]
|
||
|
position = Vector2(64, 119)
|
||
|
scale = Vector2(0.8, 0.8)
|
||
|
texture = ExtResource("3_d617q")
|
||
|
|
||
|
[node name="openLight" type="Sprite2D" parent="Light"]
|
||
|
visible = false
|
||
|
position = Vector2(64, 119)
|
||
|
scale = Vector2(0.8, 0.8)
|
||
|
texture = ExtResource("4_hp6yx")
|
||
|
|
||
|
[node name="MarginContainer" type="MarginContainer" parent="Light"]
|
||
|
layout_mode = 0
|
||
|
offset_right = 104.0
|
||
|
offset_bottom = 110.0
|
||
|
theme_override_constants/margin_left = 24
|
||
|
theme_override_constants/margin_top = -38
|
||
|
|
||
|
[node name="Label" type="Label" parent="Light/MarginContainer"]
|
||
|
modulate = Color(0.00392157, 0, 0, 1)
|
||
|
custom_minimum_size = Vector2(80, 0)
|
||
|
layout_mode = 2
|
||
|
theme_override_font_sizes/font_size = 18
|
||
|
text = "灯"
|
||
|
horizontal_alignment = 1
|
||
|
autowrap_mode = 2
|
||
|
|
||
|
[node name="Key" type="TextureRect" parent="."]
|
||
|
layout_mode = 2
|
||
|
focus_mode = 2
|
||
|
texture = ExtResource("1_ft2a2")
|
||
|
|
||
|
[node name="Keyhole" type="Sprite2D" parent="Key"]
|
||
|
position = Vector2(62, 119)
|
||
|
rotation = -0.523599
|
||
|
scale = Vector2(0.8, 0.8)
|
||
|
texture = ExtResource("5_7s053")
|
||
|
|
||
|
[node name="Key" type="Sprite2D" parent="Key"]
|
||
|
position = Vector2(63, 122)
|
||
|
rotation = -0.523599
|
||
|
texture = ExtResource("5_ptmia")
|
||
|
|
||
|
[node name="Right_Rotate" type="Sprite2D" parent="Key"]
|
||
|
modulate = Color(0, 1, 1, 1)
|
||
|
position = Vector2(118, 97)
|
||
|
rotation = 1.1781
|
||
|
scale = Vector2(0.2, 0.2)
|
||
|
texture = ExtResource("6_s6bbn")
|
||
|
script = ExtResource("8_sbs8q")
|
||
|
|
||
|
[node name="MarginContainer" type="MarginContainer" parent="Key"]
|
||
|
layout_mode = 0
|
||
|
offset_right = 104.0
|
||
|
offset_bottom = 110.0
|
||
|
theme_override_constants/margin_left = 24
|
||
|
theme_override_constants/margin_top = -38
|
||
|
|
||
|
[node name="Label" type="Label" parent="Key/MarginContainer"]
|
||
|
modulate = Color(0.00392157, 0, 0, 1)
|
||
|
custom_minimum_size = Vector2(80, 0)
|
||
|
layout_mode = 2
|
||
|
theme_override_font_sizes/font_size = 18
|
||
|
text = "钥匙"
|
||
|
horizontal_alignment = 1
|
||
|
autowrap_mode = 2
|