38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
|
[gd_scene load_steps=5 format=3 uid="uid://biwdpy5pifxgi"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://UI/station_keys/outlined_key.gd" id="1_f23gc"]
|
||
|
[ext_resource type="Shader" path="res://shaders/outline.gdshader" id="2_uecg5"]
|
||
|
[ext_resource type="Texture2D" uid="uid://c3dplk5y1607u" path="res://Assets/LCB钥匙.png" id="3_dqlco"]
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_0dtby"]
|
||
|
shader = ExtResource("2_uecg5")
|
||
|
shader_parameter/color = Color(0, 1, 1, 1)
|
||
|
shader_parameter/width = 3.0
|
||
|
shader_parameter/pattern = 1
|
||
|
shader_parameter/inside = false
|
||
|
shader_parameter/add_margins = true
|
||
|
shader_parameter/number_of_images = Vector2(1, 1)
|
||
|
|
||
|
[node name="LCB_Key" type="VBoxContainer"]
|
||
|
offset_right = 128.0
|
||
|
offset_bottom = 155.0
|
||
|
focus_mode = 1
|
||
|
script = ExtResource("1_f23gc")
|
||
|
outline_material = SubResource("ShaderMaterial_0dtby")
|
||
|
|
||
|
[node name="Key" type="TextureRect" parent="."]
|
||
|
unique_name_in_owner = true
|
||
|
layout_mode = 2
|
||
|
focus_mode = 2
|
||
|
texture = ExtResource("3_dqlco")
|
||
|
|
||
|
[node name="Label" type="Label" parent="."]
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 4
|
||
|
text = "LCB钥匙"
|
||
|
|
||
|
[connection signal="focus_entered" from="Key" to="." method="_on_focus_entered"]
|
||
|
[connection signal="focus_exited" from="Key" to="." method="_on_focus_exited"]
|
||
|
[connection signal="mouse_entered" from="Key" to="." method="_on_area_2d_mouse_entered"]
|
||
|
[connection signal="mouse_exited" from="Key" to="." method="_on_area_2d_mouse_exited"]
|