Added audio component

This commit is contained in:
2024-02-14 18:05:57 +01:00
parent ec676aad5d
commit 37e8852c51
7 changed files with 98 additions and 4 deletions

View File

@ -0,0 +1,10 @@
[gd_scene load_steps=2 format=3 uid="uid://clnfp813k7lep"]
[ext_resource type="Script" path="res://player/audio/AudioComponent.gd" id="1_0j3jl"]
[node name="Audio" type="Node3D"]
script = ExtResource("1_0j3jl")
[node name="Footsteps" type="AudioStreamPlayer3D" parent="."]
max_distance = 20.0
bus = &"Footsteps"