Fix up audio issue and resolve errors in godot log
Replace label style settings with new fonts, need to resolve stretching issue still
This commit is contained in:
@@ -13,6 +13,7 @@ public partial class AudioManager : Node
|
||||
public override void _Ready()
|
||||
{
|
||||
_audioPlayer = new AudioStreamPlayer();
|
||||
AddChild(_audioPlayer);
|
||||
_sfxDictionary = new Dictionary<SoundEffect, AudioStream>();
|
||||
var soundEffects = Enum.GetValues(typeof(SoundEffect));
|
||||
foreach (var effect in soundEffects)
|
||||
@@ -26,7 +27,6 @@ public partial class AudioManager : Node
|
||||
_audioPlayer.Play();
|
||||
}
|
||||
}
|
||||
|
||||
public enum SoundEffect
|
||||
{
|
||||
Cancel,
|
||||
|
||||
Reference in New Issue
Block a user