diff options
author | Mikkel Bybjerg <mikkel.bybjerg@hotmail.com> | 2019-04-28 09:39:56 +0200 |
---|---|---|
committer | Mikkel Bybjerg <mikkel.bybjerg@hotmail.com> | 2019-04-28 09:39:56 +0200 |
commit | e41976ab86c07d0dae1f54b462006c3ca16a53ba (patch) | |
tree | 102f37b7768f993c0b7cd3d4a8614a80ce91359e /nGJ2019/Assets/Scripts | |
parent | 8dfb13aaeb6757ddc7db848d1d8cd0cf8476d273 (diff) | |
parent | 75c104ad73cfcadebf2bcc4c012e18135666f535 (diff) |
merge
Diffstat (limited to 'nGJ2019/Assets/Scripts')
-rw-r--r-- | nGJ2019/Assets/Scripts/Messenger.cs | 2 | ||||
-rw-r--r-- | nGJ2019/Assets/Scripts/TutorialTimer.cs | 25 | ||||
-rw-r--r-- | nGJ2019/Assets/Scripts/TutorialTimer.cs.meta | 11 |
3 files changed, 38 insertions, 0 deletions
diff --git a/nGJ2019/Assets/Scripts/Messenger.cs b/nGJ2019/Assets/Scripts/Messenger.cs index a1935fd..b26fd74 100644 --- a/nGJ2019/Assets/Scripts/Messenger.cs +++ b/nGJ2019/Assets/Scripts/Messenger.cs @@ -25,6 +25,8 @@ public class Messenger : MonoBehaviour timeline.Add(43, "");
timeline.Add(55, "PRESS K TO SPLIT INTO PARTICLES AND GO THROUGH THE NET");
timeline.Add(59, "");
+ timeline.Add(62, "CONGRATULATIONS, YOU FINISHED THE TUTORIAL");
+ timeline.Add(65, "YOU CAN NOW TEST YOUR SKILL IN A REAL LEVEL");
}
timeline.OnMessageEvent += MessageOnEvent;
diff --git a/nGJ2019/Assets/Scripts/TutorialTimer.cs b/nGJ2019/Assets/Scripts/TutorialTimer.cs new file mode 100644 index 0000000..899d45e --- /dev/null +++ b/nGJ2019/Assets/Scripts/TutorialTimer.cs @@ -0,0 +1,25 @@ +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.SceneManagement;
+
+public class TutorialTimer : MonoBehaviour
+{
+ // Start is called before the first frame update
+ void Start()
+ {
+ StartCoroutine("Timer");
+ }
+
+ // Update is called once per frame
+ void Update()
+ {
+
+ }
+
+ IEnumerator Timer()
+ {
+ yield return new WaitForSeconds(70);
+ SceneManager.LoadScene("Level1");
+ }
+}
diff --git a/nGJ2019/Assets/Scripts/TutorialTimer.cs.meta b/nGJ2019/Assets/Scripts/TutorialTimer.cs.meta new file mode 100644 index 0000000..5d3492c --- /dev/null +++ b/nGJ2019/Assets/Scripts/TutorialTimer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 36e56514c4a9b4d5bae9925bf2859b10 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: |