Browse Source

Fixed Write command

master
chrisgregan 9 years ago
parent
commit
4cbb00092a
  1. 6
      Assets/Fungus/UI/Scripts/Commands/Write.cs

6
Assets/Fungus/UI/Scripts/Commands/Write.cs

@ -86,14 +86,14 @@ namespace Fungus
if (!waitUntilFinished) if (!waitUntilFinished)
{ {
writer.Write(newText, clearText, false, true, null, null); StartCoroutine(writer.Write(newText, clearText, false, true, null, null));
Continue(); Continue();
} }
else else
{ {
writer.Write(newText, clearText, false, true, null, StartCoroutine(writer.Write(newText, clearText, false, true, null,
() => { Continue (); } () => { Continue (); }
); ));
} }
} }

Loading…
Cancel
Save