From 9dd801d0f742be5a54403afe37aa1efe2fb57844 Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 8 Feb 2017 15:06:54 +0000 Subject: [PATCH] Support use of \n newline character in Say and Conversation text --- Assets/Fungus/Scripts/Components/Writer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Scripts/Components/Writer.cs b/Assets/Fungus/Scripts/Components/Writer.cs index 661e107b..21ab93da 100644 --- a/Assets/Fungus/Scripts/Components/Writer.cs +++ b/Assets/Fungus/Scripts/Components/Writer.cs @@ -503,7 +503,7 @@ namespace Fungus yield break; } - string param = paramList[0]; + string param = paramList[0].Replace("\\n", "\n"); // Trim whitespace after a {wc} or {c} tag if (previousTokenType == TokenType.WaitForInputAndClear ||