psl交互

This commit is contained in:
joylink_zhaoerwei 2024-04-22 15:32:19 +08:00
parent 3468ddcf3b
commit 8cbdca61b1
13 changed files with 177 additions and 70 deletions

View File

@ -20,12 +20,13 @@ func test_enter():
func _input(event):
if event is InputEventMouseMotion:
var flag1 = test_enter()
if flag1:
pass
else:
pass
if flag1 and Input.get_current_cursor_shape() != Input.CursorShape.CURSOR_POINTING_HAND:
$"..".set_default_cursor_shape(Input.CursorShape.CURSOR_POINTING_HAND)
elif !flag1 and Input.get_current_cursor_shape() != Input.CursorShape.CURSOR_ARROW:
$"..".set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed:
var flag2 = test_enter()
if flag2:
open_light.visible = !open_light.visible
$"../..".clickButtonSignal.emit(open_light.visible)
$"../..".clickButtonSignal.emit(open_light.visible,$"../..")

View File

@ -14,7 +14,7 @@ enum ButtonLightType{
@export var buttonText:String
signal clickButtonSignal(openLight:bool)
signal clickButtonSignal(openLight:bool,button)
func _ready() -> void:

View File

@ -25,4 +25,4 @@ func _input(event):
$"../Key".rotation=-PI/6
$"../Keyhole".rotation=-PI/6
open_light.visible = !open_light.visible
$"../..".clickKeySwitchSignal.emit(open_light.visible)
$"../..".clickKeySwitchSignal.emit(open_light.visible,$"../..")

View File

@ -7,7 +7,7 @@ extends VBoxContainer
@export var keyText:String
signal clickKeySwitchSignal(openLight:bool)
signal clickKeySwitchSignal(openLight:bool,keySwitch)
func _ready() -> void:
$Light/MarginContainer/Label.text=lightText
@ -16,3 +16,12 @@ func _ready() -> void:
$Key/MarginContainer/Label.text=keyText
else:
$Key.visible = false
func shouHandleKey() -> void:
$Key/Key.visible = true
$Key/Right_Rotate.visible = true
func hideHandleKey() -> void:
$Key/Key.visible = false
$Key/Right_Rotate.visible = false

View File

@ -56,11 +56,13 @@ scale = Vector2(0.8, 0.8)
texture = ExtResource("5_7s053")
[node name="Key" type="Sprite2D" parent="Key"]
visible = false
position = Vector2(63, 122)
rotation = -0.523599
texture = ExtResource("5_ptmia")
[node name="Right_Rotate" type="Sprite2D" parent="Key"]
visible = false
modulate = Color(0, 1, 1, 1)
position = Vector2(118, 97)
rotation = 1.1781

View File

@ -1,32 +1,32 @@
extends Window
var current_focus: CanvasItem
func _on_key_focus_entered(node,light):
current_focus = node
light.visible=!light.visible
print("node : ", current_focus.name, " focus")
func _on_button_pressed():
if current_focus == null:
print("请选择钥匙")
else:
print("使用钥匙:", current_focus.name)
current_focus.hide_key()
func _on_psl_click_signal() -> void:
self.show()
$"../stationKeys".show()
$"../stationKeys".shouAllKeys()
hidePSLAllowHandleKey()
hideInterlockReleaseSwitchHandleKey()
func _on_close_requested():
print("close req")
self.hide()
func _on_show_button_pressed():
self.show()
func shouPSLAllowHandleKey():
$PanelContainer/VBoxContainer/MarginContainer/GridContainer/PSLAllow.shouHandleKey()
func _on_psl_button_pressed() -> void:
self.show()
func hidePSLAllowHandleKey():
$PanelContainer/VBoxContainer/MarginContainer/GridContainer/PSLAllow.hideHandleKey()
func shouInterlockReleaseSwitchHandleKey():
$PanelContainer/VBoxContainer/MarginContainer/GridContainer/InterlockReleaseSwitch.shouHandleKey()
func hideInterlockReleaseSwitchHandleKey():
$PanelContainer/VBoxContainer/MarginContainer/GridContainer/InterlockReleaseSwitch.hideHandleKey()
func onHandleSignal(openLight: bool, keySwitch: Variant) -> void:
print(openLight,keySwitch,666)

View File

@ -107,3 +107,13 @@ buttonHasLight = false
buttonText = "联动开门按钮"
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
[connection signal="clickKeySwitchSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/PSLAllow" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/CloseDoorButton" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/OpenDoorButton" to="." method="onHandleSignal"]
[connection signal="clickKeySwitchSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/InterlockReleaseSwitch" to="." method="onHandleSignal"]
[connection signal="clickKeySwitchSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/VBoxContainer/IBPHandle" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/VBoxContainer/LightTestButton" to="." method="onHandleSignal"]
[connection signal="clickKeySwitchSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/PSTHandle" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/trainDepartsButton" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/interconnectedCloseButton" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="PanelContainer/VBoxContainer/MarginContainer/GridContainer/interconnectedOpenButton" to="." method="onHandleSignal"]

View File

@ -15,10 +15,12 @@ func _on_button_pressed():
current_focus.hide_key()
if(current_focus.name.contains('LCB')):
$"../LCB".shouHandleKey()
elif (current_focus.name.contains('PSL')):
$"../psl".shouInterlockReleaseSwitchHandleKey()
$"../psl".shouPSLAllowHandleKey()
func _on_close_requested():
print("close req")
self.hide()

View File

@ -10,9 +10,9 @@ func _input(event):
func _on_mouse_entered() -> void:
mouse_over = true
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_POINTING_HAND)
func _on_mouse_exited() -> void:
mouse_over = false
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)

View File

@ -0,0 +1,18 @@
extends Area3D
@onready var mouse_over = false
func _input(event):
if event is InputEventMouseButton and event.pressed:
if mouse_over and event.button_index == MOUSE_BUTTON_LEFT:
$"../..".clickLPslSignal.emit()
func _on_mouse_entered() -> void:
mouse_over = true
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_POINTING_HAND)
func _on_mouse_exited() -> void:
mouse_over = false
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)

View File

@ -1,9 +1,11 @@
[gd_scene load_steps=10 format=3 uid="uid://cmnsn2joxo68l"]
[ext_resource type="PackedScene" uid="uid://b07w0k0uy82f7" path="res://Model/platform/platform.gltf" id="1_5t7j8"]
[ext_resource type="PackedScene" uid="uid://cc4q48i773dvn" path="res://sceen/platform/psl.tscn" id="2_wj0sf"]
[ext_resource type="PackedScene" uid="uid://b41ml6vpfik6v" path="res://UI/LCB/lcb.tscn" id="3_f0qkt"]
[ext_resource type="PackedScene" uid="uid://bc2dnsyx16kk6" path="res://sceen/platform/screenDoor.tscn" id="4_507v2"]
[ext_resource type="PackedScene" uid="uid://d167och8l6jms" path="res://UI/station_keys/station_keys_window.tscn" id="4_xd08d"]
[ext_resource type="PackedScene" uid="uid://dppmr7ifqt8oa" path="res://UI/psl/psl_window.tscn" id="6_e4hk2"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"]
resource_name = "20 - Default"
@ -12,38 +14,6 @@ albedo_color = Color(0.790731, 0.790731, 0.790731, 1)
metallic = 1.0
roughness = 0.858579
[sub_resource type="ArrayMesh" id="ArrayMesh_q3710"]
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"format": 34896613377,
"index_count": 48,
"index_data": PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 1, 0, 5, 0, 3, 0, 5, 0, 1, 0, 4, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 0, 0, 255, 255, 0, 0, 245, 255, 0, 0, 0, 0, 255, 255, 245, 255, 0, 0, 255, 255, 255, 255, 245, 255, 0, 0, 255, 127, 0, 0, 245, 255, 0, 0, 255, 127, 255, 255, 245, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_324rb"]
resource_name = "screenDoor_网格_062"
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"attribute_data": PackedByteArray(56, 44, 1, 29, 247, 39, 7, 29, 8, 1, 194, 41, 133, 48, 7, 29, 187, 36, 194, 41, 72, 48, 29, 32, 127, 40, 1, 29, 8, 1, 29, 22, 247, 39, 252, 31, 187, 36, 29, 22, 133, 48, 252, 31, 143, 44, 29, 32, 62, 44, 7, 29, 225, 18, 194, 41, 225, 18, 29, 22, 62, 44, 252, 31, 56, 44, 2, 32, 247, 39, 8, 32, 133, 48, 8, 32, 72, 48, 27, 29, 127, 40, 2, 32, 247, 39, 251, 28, 133, 48, 251, 28, 143, 44, 27, 29, 62, 44, 8, 32, 62, 44, 251, 28),
"format": 34896613399,
"index_count": 48,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 2, 0, 4, 0, 14, 0, 9, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0),
"material": SubResource("StandardMaterial3D_v2w26"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 26,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 84, 213, 0, 0, 0, 0, 245, 255, 255, 191, 0, 0, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 255, 191, 255, 255, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 255, 127, 0, 0, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 255, 127, 255, 255, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 84, 213, 255, 127, 0, 0, 245, 255, 255, 191, 255, 127, 0, 0, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 191, 0, 0, 0, 0, 0, 0, 84, 213, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 84, 213, 255, 127, 0, 0, 0, 0, 255, 191, 255, 127, 255, 255, 0, 0, 255, 191, 84, 85, 170, 170, 0, 0, 255, 127, 255, 127, 255, 255, 0, 0, 255, 127, 255, 127, 255, 255, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 255, 254, 255, 255, 127, 255, 127, 255, 255, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 255, 127, 255, 255, 255, 127, 255, 255, 254, 255, 255, 127, 84, 85, 170, 170, 0, 0, 255, 127, 0, 0, 255, 127, 170, 170, 84, 85, 84, 85, 170, 170, 255, 255, 255, 127, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 254, 255, 255, 127)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_q3710")
[sub_resource type="ArrayMesh" id="ArrayMesh_bglq4"]
_surfaces = [{
"aabb": AABB(-0.0341152, -0.0976391, -0.0343229, 0.0682304, 0.195288, 0.0686552),
@ -81,11 +51,7 @@ shadow_mesh = SubResource("ArrayMesh_bglq4")
[node name="platformBody" parent="." instance=ExtResource("1_5t7j8")]
metadata/_edit_lock_ = true
[node name="PSL" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.68225, 2.3794, -7.38919)
mesh = SubResource("ArrayMesh_324rb")
skeleton = NodePath("")
metadata/_edit_lock_ = true
[node name="PSL" parent="." instance=ExtResource("2_wj0sf")]
[node name="JJTC" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.74842, 1.05459, -7.39734)
@ -112,6 +78,11 @@ visible = false
position = Vector2i(1133, 325)
visible = false
[node name="psl" parent="." instance=ExtResource("6_e4hk2")]
position = Vector2i(511, 85)
visible = false
[connection signal="clickLPslSignal" from="PSL" to="psl" method="_on_psl_click_signal"]
[connection signal="clickLcbSignalAndSent" from="screenDoor1" to="LCB" method="_on_screen_door_click_lcb_signal"]
[connection signal="clickLcbSignalAndSent" from="screenDoor2" to="LCB" method="_on_screen_door_click_lcb_signal"]
[connection signal="clickLcbSignalAndSent" from="screenDoor3" to="LCB" method="_on_screen_door_click_lcb_signal"]

4
sceen/platform/psl.gd Normal file
View File

@ -0,0 +1,4 @@
extends Node3D
signal clickLPslSignal()

90
sceen/platform/psl.tscn Normal file
View File

@ -0,0 +1,90 @@
[gd_scene load_steps=8 format=3 uid="uid://cc4q48i773dvn"]
[ext_resource type="Script" path="res://sceen/platform/PSL_Area3D.gd" id="1_5mk24"]
[ext_resource type="Script" path="res://sceen/platform/psl.gd" id="1_fwlhs"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"]
resource_name = "20 - Default"
cull_mode = 2
albedo_color = Color(0.790731, 0.790731, 0.790731, 1)
metallic = 1.0
roughness = 0.858579
[sub_resource type="ArrayMesh" id="ArrayMesh_q3710"]
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"format": 34896613377,
"index_count": 48,
"index_data": PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 1, 0, 5, 0, 3, 0, 5, 0, 1, 0, 4, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 0, 0, 255, 255, 0, 0, 245, 255, 0, 0, 0, 0, 255, 255, 245, 255, 0, 0, 255, 255, 255, 255, 245, 255, 0, 0, 255, 127, 0, 0, 245, 255, 0, 0, 255, 127, 255, 255, 245, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_xtvya"]
resource_name = "screenDoor_网格_062"
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"attribute_data": PackedByteArray(56, 44, 1, 29, 247, 39, 7, 29, 8, 1, 194, 41, 133, 48, 7, 29, 187, 36, 194, 41, 72, 48, 29, 32, 127, 40, 1, 29, 8, 1, 29, 22, 247, 39, 252, 31, 187, 36, 29, 22, 133, 48, 252, 31, 143, 44, 29, 32, 62, 44, 7, 29, 225, 18, 194, 41, 225, 18, 29, 22, 62, 44, 252, 31, 56, 44, 2, 32, 247, 39, 8, 32, 133, 48, 8, 32, 72, 48, 27, 29, 127, 40, 2, 32, 247, 39, 251, 28, 133, 48, 251, 28, 143, 44, 27, 29, 62, 44, 8, 32, 62, 44, 251, 28),
"format": 34896613399,
"index_count": 48,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 2, 0, 4, 0, 14, 0, 9, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0),
"material": SubResource("StandardMaterial3D_v2w26"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 26,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 84, 213, 0, 0, 0, 0, 245, 255, 255, 191, 0, 0, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 255, 191, 255, 255, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 255, 127, 0, 0, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 255, 127, 255, 255, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 84, 213, 255, 127, 0, 0, 245, 255, 255, 191, 255, 127, 0, 0, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 191, 0, 0, 0, 0, 0, 0, 84, 213, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 84, 213, 255, 127, 0, 0, 0, 0, 255, 191, 255, 127, 255, 255, 0, 0, 255, 191, 84, 85, 170, 170, 0, 0, 255, 127, 255, 127, 255, 255, 0, 0, 255, 127, 255, 127, 255, 255, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 255, 254, 255, 255, 127, 255, 127, 255, 255, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 255, 127, 255, 255, 255, 127, 255, 255, 254, 255, 255, 127, 84, 85, 170, 170, 0, 0, 255, 127, 0, 0, 255, 127, 170, 170, 84, 85, 84, 85, 170, 170, 255, 255, 255, 127, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 254, 255, 255, 127)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_q3710")
[sub_resource type="BoxShape3D" id="BoxShape3D_bgvqo"]
[sub_resource type="ViewportTexture" id="ViewportTexture_3lap2"]
viewport_path = NodePath("SubViewport")
[node name="PSL" type="Node3D"]
script = ExtResource("1_fwlhs")
[node name="PSL_body" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.68225, 2.3794, -7.38919)
mesh = SubResource("ArrayMesh_xtvya")
skeleton = NodePath("")
metadata/_edit_lock_ = true
[node name="PSL_Area3D" type="Area3D" parent="PSL_body"]
script = ExtResource("1_5mk24")
[node name="CollisionShape3D" type="CollisionShape3D" parent="PSL_body/PSL_Area3D"]
transform = Transform3D(0.215, 0, 0, 0, 0.095, 0, 0, 0, 0.1, 0, 0, 0)
shape = SubResource("BoxShape3D_bgvqo")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(64, 32)
[node name="ColorRect" type="ColorRect" parent="SubViewport"]
offset_right = 64.0
offset_bottom = 32.0
color = Color(0, 0.0901961, 1, 1)
[node name="Label" type="Label" parent="SubViewport"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 32
text = "PSL"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(0.256, 0, 0, 0, 0.256, 0, 0, 0, 0.256, -3.682, 2.379, -7.35)
texture = SubResource("ViewportTexture_3lap2")
[connection signal="mouse_entered" from="PSL_body/PSL_Area3D" to="PSL_body/PSL_Area3D" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="PSL_body/PSL_Area3D" to="PSL_body/PSL_Area3D" method="_on_mouse_exited"]