aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2019-04-28 12:46:07 +0200
committermarcinzelent <zelent.marcin@gmail.com>2019-04-28 12:46:07 +0200
commit9e3be7171503a43d4f99a03f19741355eb1c214d (patch)
treea14a3325a624ff0f303c5b255ca1bad5e996e974 /nGJ2019/Assets/Scripts
parentfc1d3323afcbd8dee1ad2f66b578b31efa91175a (diff)
Added separate buttons for tutorial and level 1
Diffstat (limited to 'nGJ2019/Assets/Scripts')
-rw-r--r--nGJ2019/Assets/Scripts/TitleScreen.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/nGJ2019/Assets/Scripts/TitleScreen.cs b/nGJ2019/Assets/Scripts/TitleScreen.cs
index bf37785..00875da 100644
--- a/nGJ2019/Assets/Scripts/TitleScreen.cs
+++ b/nGJ2019/Assets/Scripts/TitleScreen.cs
@@ -18,6 +18,11 @@ public class TitleScreen : MonoBehaviour
SceneManager.LoadScene("Tutorial");
}
+ public void OpenLevelOne()
+ {
+ SceneManager.LoadScene("Level1");
+ }
+
public void Quit()
{
Application.Quit();