From: KG0104 Date: Sat, 4 Sep 2021 15:57:18 +0000 (+0200) Subject: Dialogue-System v0.6.1 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=3d0c6779ad129cb22e2213ba371ce87bda934aaa;p=SuperMouseAdventure.git Dialogue-System v0.6.1 --- diff --git a/2DGame/Assets/Scripts/Dialogue/Dialogue.cs b/2DGame/Assets/Scripts/Dialogue/Dialogue.cs index 1653141..105abf3 100644 --- a/2DGame/Assets/Scripts/Dialogue/Dialogue.cs +++ b/2DGame/Assets/Scripts/Dialogue/Dialogue.cs @@ -41,7 +41,7 @@ public class Dialogue : MonoBehaviour if (dialogueText.text != sentences[index]) { - if (Input.GetKeyDown(KeyCode.Return)) + if (Input.GetKeyDown(KeyCode.Return) || Input.GetMouseButtonDown(0)) { skip = true; }