Browse Source

Merge pull request #166 from FungusGames/AudioFinishedIssue

Issue where audio would continue when audio is finished while waitUntilFinished was not set to true
master
Chris Gregan 10 years ago
parent
commit
d3d1150499
  1. 3
      Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs

3
Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs

@ -228,9 +228,12 @@ namespace Fungus
} }
void AudioFinished() void AudioFinished()
{
if (waitUntilFinished)
{ {
Continue(); Continue();
} }
}
public override string GetSummary() public override string GetSummary()
{ {

Loading…
Cancel
Save