Browse Source

Say Dialogs hide on start

master
chrisgregan 10 years ago
parent
commit
12cef21814
  1. 6
      Assets/Fungus/Narrative/Scripts/SayDialog.cs

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

@ -43,6 +43,12 @@ namespace Fungus
return activeSayDialog;
}
protected virtual void Start()
{
CanvasGroup canvasGroup = dialogCanvas.GetComponent<CanvasGroup>();
canvasGroup.alpha = 0f;
}
public virtual void Say(string text, bool clearPrevious, bool waitForInput, AudioClip voiceOverClip, Action onComplete)
{
Writer writer = GetComponent<Writer>();

Loading…
Cancel
Save