big
This commit is contained in:
+2
-1
@@ -23,6 +23,7 @@ func _ready() -> void:
|
||||
model_root = Node3D.new()
|
||||
add_child(model_root)
|
||||
_build_model()
|
||||
AudioManager.configure_player(fire_sound, "knife_swing")
|
||||
position = default_pos
|
||||
|
||||
func _build_model() -> void:
|
||||
@@ -45,7 +46,7 @@ func _build_model() -> void:
|
||||
fire_sound = AudioStreamPlayer3D.new()
|
||||
fire_sound.bus = "SFX"
|
||||
fire_sound.stream = AudioManager.stream_for("knife_swing", "res://assets/sounds/knife_swing.wav")
|
||||
fire_sound.pitch_scale = 1.2
|
||||
fire_sound.pitch_scale = 1.05
|
||||
fire_sound.volume_db = 0.0
|
||||
model_root.add_child(fire_sound)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user