Browse Source

Fixed character Name appears in Say Dialog when used from Lua #484

master
Christopher 9 years ago
parent
commit
54d80c5039
  1. 2
      Assets/Fungus/Narrative/Scripts/SayDialog.cs

2
Assets/Fungus/Narrative/Scripts/SayDialog.cs

@ -127,6 +127,8 @@ namespace Fungus
gameObject.AddComponent<GraphicRaycaster>();
}
SetCharacterName("", Color.white);
// It's possible that SetCharacterImage() has already been called from the
// Start method of another component, so check that no image has been set yet.
if (currentCharacterImage == null)

Loading…
Cancel
Save