From ef7b14568d80e345e92c8d6756d07abea14a1ab6 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Mon, 22 Jul 2019 12:06:40 +0800 Subject: [PATCH] Fixed text container, again for revert. --- Assets/JCSUnity/Scripts/GUI/JCS_TextDeltaNumber.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/JCSUnity/Scripts/GUI/JCS_TextDeltaNumber.cs b/Assets/JCSUnity/Scripts/GUI/JCS_TextDeltaNumber.cs index 5598fba8..f2bb941b 100644 --- a/Assets/JCSUnity/Scripts/GUI/JCS_TextDeltaNumber.cs +++ b/Assets/JCSUnity/Scripts/GUI/JCS_TextDeltaNumber.cs @@ -9,7 +9,7 @@ /* NOTE: If you are using `TextMesh Pro` uncomment this line. */ -#define TMP_PRO +//#define TMP_PRO using System.Collections; using System.Collections.Generic; @@ -226,7 +226,7 @@ private void UpdateTextRender() #if TMP_PRO if (mTextContainer == null && mTextMesh == null) #else - if (mText == null) + if (mTextContainer == null) #endif { JCS_Debug.LogError("Text slot cannot be null references...");