Browse Source

Fix if no EventSystem present in scene

master
Christopher 8 years ago committed by lealeelu
parent
commit
057772cf28
  1. 5
      Assets/Fungus/Narrative/Scripts/DialogInput.cs

5
Assets/Fungus/Narrative/Scripts/DialogInput.cs

@ -82,6 +82,11 @@ namespace Fungus
protected virtual void Update()
{
if (EventSystem.current == null)
{
return;
}
if (currentStandaloneInputModule == null)
{
if (EventSystem.current == null)

Loading…
Cancel
Save