first_anniversary_godot_jam/scripts/Library/Actions/PlaySound.gd

14 lines
201 B
GDScript3
Raw Normal View History

2024-04-20 14:16:44 +00:00
class_name PlaySound
extends Action
export(NodePath) var audioStreamPlayer
func _ready():
onTrigger()
func onTrigger():
2024-04-20 16:02:17 +00:00
print("OnTrigger PlaySound")
# get_node( audioStreamPlayer ).play()
2024-04-20 14:16:44 +00:00