diff --git a/Assets/Fungus/Dialog/Scripts/Dialog.cs b/Assets/Fungus/Dialog/Scripts/Dialog.cs index deb81837..7c838257 100644 --- a/Assets/Fungus/Dialog/Scripts/Dialog.cs +++ b/Assets/Fungus/Dialog/Scripts/Dialog.cs @@ -353,6 +353,17 @@ namespace Fungus protected virtual void Clear() { ClearStoryText(); + + // Reset control variables + currentSpeed = 60; + currentPunctuationPause = 0.25f; + boldActive = false; + italicActive = false; + colorActive = false; + colorText = ""; + + // Kill any active write coroutine + StopAllCoroutines(); } protected virtual void ClearStoryText()