Browse Source

Issue where audio would continue when audio is finished while waitUntilFinished was not set to true

master
John O'Kane 9 years ago
parent
commit
4f7088487b
  1. 5
      Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs

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

@ -229,7 +229,10 @@ namespace Fungus
void AudioFinished() void AudioFinished()
{ {
Continue(); if (waitUntilFinished)
{
Continue();
}
} }
public override string GetSummary() public override string GetSummary()

Loading…
Cancel
Save