From 69e034058ea6d5f4d1ca6d5ffb04b8850dc19560 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Wed, 26 Feb 2014 11:26:20 +0000 Subject: [PATCH] Fixed partially written words jumping to next line due to word wrap Fixed by inserting extra line breaks just before a word would cause a word wrap to occur. --- Assets/Fungus/Scripts/Page.cs | 55 ++++++++++++++++++++++++++++------- 1 file changed, 44 insertions(+), 11 deletions(-) diff --git a/Assets/Fungus/Scripts/Page.cs b/Assets/Fungus/Scripts/Page.cs index 620c8a45..6730f702 100644 --- a/Assets/Fungus/Scripts/Page.cs +++ b/Assets/Fungus/Scripts/Page.cs @@ -2,6 +2,7 @@ using UnityEngine; using System; using System.Collections; using System.Collections.Generic; +using System.Text.RegularExpressions; namespace Fungus { @@ -54,6 +55,15 @@ namespace Fungus List