Skip to content

Commit

Permalink
Added START MENU
Browse files Browse the repository at this point in the history
  • Loading branch information
zafirabinta committed Jan 19, 2022
1 parent 7342c83 commit 99c5cda
Show file tree
Hide file tree
Showing 83 changed files with 14,674 additions and 23 deletions.
3 changes: 3 additions & 0 deletions UnityAndroidCamera/Assets/BG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 120 additions & 0 deletions UnityAndroidCamera/Assets/BG.png.meta

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

18 changes: 18 additions & 0 deletions UnityAndroidCamera/Assets/MainMenu.cs
Original file line number Diff line number Diff line change
@@ -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(SceneManager.GetActiveScene().buildIndex + 1);
}

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

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

Loading

0 comments on commit 99c5cda

Please sign in to comment.