|
|
|
@ -84,7 +84,7 @@ namespace Fungus
|
|
|
|
|
currentStandaloneInputModule = EventSystem.current.GetComponent<StandaloneInputModule>(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (writer != null && writer.IsWriting) |
|
|
|
|
if (writer != null) |
|
|
|
|
{ |
|
|
|
|
if (Input.GetButtonDown(currentStandaloneInputModule.submitButton) || |
|
|
|
|
(cancelEnabled && Input.GetButton(currentStandaloneInputModule.cancelButton))) |
|
|
|
@ -149,7 +149,10 @@ namespace Fungus
|
|
|
|
|
/// </summary> |
|
|
|
|
public virtual void SetNextLineFlag() |
|
|
|
|
{ |
|
|
|
|
nextLineInputFlag = true; |
|
|
|
|
if(writer.IsWaitingForInput || writer.IsWriting) |
|
|
|
|
{ |
|
|
|
|
nextLineInputFlag = true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/// <summary> |
|
|
|
|
/// Set the ClickAnywhere click flag. |
|
|
|
|