|
|
@ -141,6 +141,16 @@ namespace Fungus |
|
|
|
ignoreClickTimer = Mathf.Max (ignoreClickTimer - Time.deltaTime, 0f); |
|
|
|
ignoreClickTimer = Mathf.Max (ignoreClickTimer - Time.deltaTime, 0f); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Ignore input events if a Menu is being displayed |
|
|
|
|
|
|
|
if (MenuDialog.activeMenuDialog != null) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (MenuDialog.activeMenuDialog.gameObject.activeSelf) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
dialogClickedFlag = false; |
|
|
|
|
|
|
|
nextLineInputFlag = false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Tell any listeners to move to the next line |
|
|
|
// Tell any listeners to move to the next line |
|
|
|
if (nextLineInputFlag) |
|
|
|
if (nextLineInputFlag) |
|
|
|
{ |
|
|
|
{ |
|
|
|