Browse Source

Fixed: Say Dialog doesn't move text box back after displaying a character image #141

master
chrisgregan 10 years ago
parent
commit
1a2f56d11f
  1. 7
      Assets/Fungus/Narrative/Scripts/SayDialog.cs

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

@ -282,6 +282,13 @@ namespace Fungus
else
{
characterImage.gameObject.SetActive(false);
if (startStoryTextWidth != 0)
{
storyText.rectTransform.SetInsetAndSizeFromParentEdge(RectTransform.Edge.Left,
startStoryTextInset,
startStoryTextWidth);
}
}
// Adjust story text box to not overlap image rect

Loading…
Cancel
Save