a bit of restructuring, renaming, and c sharp setup
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ob04y3syvo0e"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bfwe1vlfyknm7" path="res://scripts/GdScript/interaction_area.gd" id="1_26v5g"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_i8sim"]
|
||||
radius = 1.0
|
||||
|
||||
[node name="InteractionArea" type="Node3D"]
|
||||
script = ExtResource("1_26v5g")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
collision_mask = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
shape = SubResource("SphereShape3D_i8sim")
|
||||
|
||||
[node name="Label3D" type="Label3D" parent="."]
|
||||
sorting_offset = 100.0
|
||||
pixel_size = 0.001
|
||||
billboard = 1
|
||||
no_depth_test = true
|
||||
fixed_size = true
|
||||
text = "<E>"
|
||||
font_size = 98
|
||||
outline_size = 22
|
||||
|
||||
[connection signal="body_entered" from="Area3D" to="Label3D" method="show"]
|
||||
[connection signal="body_exited" from="Area3D" to="Label3D" method="hide"]
|
||||
Reference in New Issue
Block a user