Files
2025-05-09 23:45:18 +02:00

34 lines
900 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://82ichxq5e8vn"]
[ext_resource type="Script" path="res://src/interactor.gd" id="1_funnq"]
[ext_resource type="Texture2D" uid="uid://bxjrbdprlgxct" path="res://prefabs/crosshair001.png" id="2_ja03y"]
[node name="Interactor" type="RayCast3D"]
target_position = Vector3(0, 0, -2)
debug_shape_thickness = 4
script = ExtResource("1_funnq")
[node name="TextureRect" type="TextureRect" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -32.0
offset_top = -32.0
offset_right = 32.0
offset_bottom = 32.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_ja03y")
[node name="ActionLabel" type="Label" parent="TextureRect"]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_left = 69.0
offset_top = 40.0
offset_right = 125.0
offset_bottom = 63.0
text = "(E) Pick up"