diff --git a/Assets/Fungus/Scripts/Commands/PlayAmbienceSound.cs b/Assets/Fungus/Scripts/Commands/PlayAmbienceSound.cs index c893dd2f..fcffb9b1 100644 --- a/Assets/Fungus/Scripts/Commands/PlayAmbienceSound.cs +++ b/Assets/Fungus/Scripts/Commands/PlayAmbienceSound.cs @@ -9,10 +9,10 @@ namespace Fungus /// Plays a once-off sound effect. Multiple sound effects can be played at the same time. /// [CommandInfo("Audio", - "Play Ambience Sound", + "Play Ambiance Sound", "Plays a once-off sound effect. Multiple sound effects can be played at the same time.")] [AddComponentMenu("")] - public class PlayAmbienceSound : Command + public class PlayAmbianceSound : Command { [Tooltip("Sound effect clip to play")] [SerializeField] diff --git a/Assets/Fungus/Scripts/Components/MusicManager.cs b/Assets/Fungus/Scripts/Components/MusicManager.cs index 9b969490..1dcaa7f0 100644 --- a/Assets/Fungus/Scripts/Components/MusicManager.cs +++ b/Assets/Fungus/Scripts/Components/MusicManager.cs @@ -80,7 +80,7 @@ namespace Fungus /// The sound effect clip to play. /// If the audioclip should loop or not. /// The volume level of the sound effect. - public virtual void PlayAmbienceSound(AudioClip soundClip, bool loop, float volume) + public virtual void PlayAmbianceSound(AudioClip soundClip, bool loop, float volume) { audioSource.loop = loop; audioSource.clip = soundClip;