Global Sounds system

This commit is contained in:
Haze Weathers 2025-03-08 16:32:47 -05:00
parent 5677971bf0
commit ba3306c04c
15 changed files with 232 additions and 1 deletions

View file

@ -0,0 +1,11 @@
@tool
@icon("global_sound_player.svg")
class_name GlobalSoundPlayer
extends Node
@export_custom(0, "global_sound") var sound: StringName
func play() -> void:
GlobalSounds.play_sound(sound)