From 4cbb00092abd9af4f381cc094f9ef2f52ce65b87 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 25 Mar 2016 12:49:51 +0000 Subject: [PATCH] Fixed Write command --- Assets/Fungus/UI/Scripts/Commands/Write.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Fungus/UI/Scripts/Commands/Write.cs b/Assets/Fungus/UI/Scripts/Commands/Write.cs index 7e511976..8c2a5573 100644 --- a/Assets/Fungus/UI/Scripts/Commands/Write.cs +++ b/Assets/Fungus/UI/Scripts/Commands/Write.cs @@ -86,14 +86,14 @@ namespace Fungus if (!waitUntilFinished) { - writer.Write(newText, clearText, false, true, null, null); + StartCoroutine(writer.Write(newText, clearText, false, true, null, null)); Continue(); } else { - writer.Write(newText, clearText, false, true, null, + StartCoroutine(writer.Write(newText, clearText, false, true, null, () => { Continue (); } - ); + )); } }