Browse Source

Set game object active before setting character image

master
chrisgregan 10 years ago
parent
commit
0c302cd2b8
  1. 5
      Assets/Fungus/Narrative/Scripts/Commands/Say.cs

5
Assets/Fungus/Narrative/Scripts/Commands/Say.cs

@ -72,11 +72,12 @@ namespace Fungus
} }
Flowchart flowchart = GetFlowchart(); Flowchart flowchart = GetFlowchart();
sayDialog.SetCharacter(character, flowchart);
sayDialog.SetCharacterImage(portrait);
sayDialog.gameObject.SetActive(true); sayDialog.gameObject.SetActive(true);
sayDialog.SetCharacter(character, flowchart);
sayDialog.SetCharacterImage(portrait);
string displayText = storyText; string displayText = storyText;
foreach (CustomTag ct in CustomTag.activeCustomTags) foreach (CustomTag ct in CustomTag.activeCustomTags)

Loading…
Cancel
Save