From 0c302cd2b871a1e91ea03f43aab8b472b1d160d3 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 28 Aug 2015 15:10:29 +0100 Subject: [PATCH] Set game object active before setting character image --- Assets/Fungus/Narrative/Scripts/Commands/Say.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs index 2cefe526..4a2f7ce0 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs @@ -72,11 +72,12 @@ namespace Fungus } Flowchart flowchart = GetFlowchart(); - sayDialog.SetCharacter(character, flowchart); - sayDialog.SetCharacterImage(portrait); sayDialog.gameObject.SetActive(true); + sayDialog.SetCharacter(character, flowchart); + sayDialog.SetCharacterImage(portrait); + string displayText = storyText; foreach (CustomTag ct in CustomTag.activeCustomTags)