generated from krampus/template-godot4
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://ctr56p23cvupu"]
|
|
|
|
[ext_resource type="Script" uid="uid://brao0ea0tgfgc" path="res://src/props/retinal_scanner/retinal_scanner.gd" id="1_c71b5"]
|
|
[ext_resource type="Script" uid="uid://deg5xd87cy8rg" path="res://src/props/interactive.gd" id="1_ldtbm"]
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_c71b5"]
|
|
size = Vector3(0.475, 0.65, 0.2)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_5bfyo"]
|
|
size = Vector3(0.475, 0.65, 0.2)
|
|
|
|
[node name="RetinalScanner" type="Node3D" groups=["Persistent"]]
|
|
script = ExtResource("1_c71b5")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("BoxMesh_c71b5")
|
|
|
|
[node name="Label3D" type="Label3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.18, 0.105)
|
|
pixel_size = 0.001
|
|
text = "Retinal
|
|
Scanner"
|
|
font_size = 96
|
|
outline_size = 24
|
|
|
|
[node name="Interactive" type="StaticBody3D" parent="."]
|
|
unique_name_in_owner = true
|
|
collision_layer = 3
|
|
collision_mask = 0
|
|
script = ExtResource("1_ldtbm")
|
|
label = "INTERACTIVE_SCANNER_LABEL"
|
|
verb = "INTERACTIVE_SCANNER_VERB"
|
|
metadata/_custom_type_script = "uid://deg5xd87cy8rg"
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Interactive"]
|
|
shape = SubResource("BoxShape3D_5bfyo")
|
|
|
|
[connection signal="activated" from="Interactive" to="." method="_activate"]
|
|
[connection signal="selected" from="Interactive" to="." method="_on_interactive_selected"]
|