73 lines
2.4 KiB
Plaintext
73 lines
2.4 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://c31r8s27j4dcm"]
|
|
|
|
[ext_resource type="Script" path="res://UI/psl/button_light.gd" id="1_yjnd3"]
|
|
[ext_resource type="Texture2D" uid="uid://7aq7b45v8ubb" path="res://Assets/psl/按钮背景.png" id="2_yyiso"]
|
|
[ext_resource type="Texture2D" uid="uid://ba266bheb3xrt" path="res://Assets/psl/指示灯_绿.png" id="3_w1wja"]
|
|
[ext_resource type="Texture2D" uid="uid://c3b0oum7t4qp4" path="res://Assets/psl/指示灯亮_绿.png" id="4_lrh4r"]
|
|
[ext_resource type="Texture2D" uid="uid://dsj7nbbmesf2c" path="res://Assets/psl/按钮_绿.png" id="5_8iola"]
|
|
[ext_resource type="Script" path="res://UI/psl/Button.gd" id="6_4mynr"]
|
|
|
|
[node name="ButtonLight" type="VBoxContainer"]
|
|
scale = Vector2(0.6, 0.6)
|
|
script = ExtResource("1_yjnd3")
|
|
buttonHasLight = true
|
|
|
|
[node name="Light" type="TextureRect" parent="."]
|
|
layout_mode = 2
|
|
focus_mode = 2
|
|
texture = ExtResource("2_yyiso")
|
|
|
|
[node name="closeLight" type="Sprite2D" parent="Light"]
|
|
position = Vector2(64, 119)
|
|
scale = Vector2(0.8, 0.8)
|
|
texture = ExtResource("3_w1wja")
|
|
|
|
[node name="openLight" type="Sprite2D" parent="Light"]
|
|
visible = false
|
|
position = Vector2(64, 119)
|
|
scale = Vector2(0.8, 0.8)
|
|
texture = ExtResource("4_lrh4r")
|
|
|
|
[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="Button" type="TextureRect" parent="."]
|
|
layout_mode = 2
|
|
focus_mode = 2
|
|
texture = ExtResource("2_yyiso")
|
|
|
|
[node name="Button" type="Sprite2D" parent="Button"]
|
|
position = Vector2(64, 119)
|
|
scale = Vector2(0.8, 0.8)
|
|
texture = ExtResource("5_8iola")
|
|
script = ExtResource("6_4mynr")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="Button"]
|
|
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="Button/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
|