]> git.lizzy.rs Git - SuperMouseAdventure.git/commitdiff
Dialogue-System v0.6.1
authorKG0104 <konstantin.gerlach@kabelmail.de>
Sat, 4 Sep 2021 15:57:18 +0000 (17:57 +0200)
committerKG0104 <konstantin.gerlach@kabelmail.de>
Sat, 4 Sep 2021 15:57:18 +0000 (17:57 +0200)
2DGame/Assets/Scripts/Dialogue/Dialogue.cs

index 1653141318e3b5067ca803262788c5eae165005c..105abf382c54b66001ec20ba1537ee69fa99e9ec 100644 (file)
@@ -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;
             }