Skip to content

Commit

Permalink
Add title screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Radbourne committed Feb 1, 2020
1 parent b26e708 commit b1fc551
Show file tree
Hide file tree
Showing 76 changed files with 14,115 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Assets/MainMenu.cs
@@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class MainMenu : MonoBehaviour
{
public void PlayGame()
{
SceneManager.LoadScene("Scenes/SampleScene");
}

public void QuitGame()
{
Debug.Log("Quit executed");
Application.Quit();
}
}
11 changes: 11 additions & 0 deletions Assets/MainMenu.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b1fc551

Please sign in to comment.