Browse Source

Support use of \n newline character in Say and Conversation text

master
Christopher 8 years ago
parent
commit
9dd801d0f7
  1. 2
      Assets/Fungus/Scripts/Components/Writer.cs

2
Assets/Fungus/Scripts/Components/Writer.cs

@ -503,7 +503,7 @@ namespace Fungus
yield break; yield break;
} }
string param = paramList[0]; string param = paramList[0].Replace("\\n", "\n");
// Trim whitespace after a {wc} or {c} tag // Trim whitespace after a {wc} or {c} tag
if (previousTokenType == TokenType.WaitForInputAndClear || if (previousTokenType == TokenType.WaitForInputAndClear ||

Loading…
Cancel
Save