2024-05-06 17:28:42 +08:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://p7uurq4exr6q"]
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://7aq7b45v8ubb" path="res://Assets/psl/按钮背景.png" id="1_f8f24"]
|
|
|
|
[ext_resource type="Script" path="res://UI/psl/light_model.gd" id="1_na6l0"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ba266bheb3xrt" path="res://Assets/psl/指示灯_绿.png" id="2_3l74d"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c3b0oum7t4qp4" path="res://Assets/psl/指示灯亮_绿.png" id="3_s43bg"]
|
|
|
|
|
|
|
|
[node name="LightModel" type="VBoxContainer"]
|
|
|
|
script = ExtResource("1_na6l0")
|
|
|
|
|
|
|
|
[node name="Light" type="TextureRect" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
focus_mode = 2
|
|
|
|
texture = ExtResource("1_f8f24")
|
|
|
|
|
|
|
|
[node name="closeLight" type="Sprite2D" parent="Light"]
|
|
|
|
position = Vector2(64, 119)
|
|
|
|
scale = Vector2(0.8, 0.8)
|
|
|
|
texture = ExtResource("2_3l74d")
|
|
|
|
|
|
|
|
[node name="openLight" type="Sprite2D" parent="Light"]
|
|
|
|
visible = false
|
|
|
|
position = Vector2(64, 119)
|
|
|
|
scale = Vector2(0.8, 0.8)
|
|
|
|
texture = ExtResource("3_s43bg")
|
|
|
|
|
|
|
|
[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
|
2024-05-21 11:21:47 +08:00
|
|
|
autowrap_mode = 1
|