moved some files and updated to Godot 4.2.Stable
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
extends Node3D
|
||||
|
||||
@export var audio_player : AudioStreamPlayer3D
|
||||
|
||||
|
||||
func _on_area_3d_body_entered(body: Node3D) -> void:
|
||||
if body is EnemyController:
|
||||
body.goal_entered()
|
||||
audio_player.play()
|
||||
|
Reference in New Issue
Block a user