From f0813d4aae31e955d46b8eef3fafde9e9bc244f7 Mon Sep 17 00:00:00 2001 From: Hector Castelli Zacharias Date: Thu, 28 Jun 2018 18:52:35 -0400 Subject: [PATCH] Fixed naming issues in ambience audio. --- Assets/Fungus/Scripts/Commands/PlayAmbienceSound.cs | 4 ++-- Assets/Fungus/Scripts/Components/MusicManager.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;