Commit 0d4df826 authored by Ashley's avatar Ashley

Pause menu is now in

parent 53f13639
This diff is collapsed.
fileFormatVersion: 2
guid: 4b32869774338904a875250168c72931
timeCreated: 1492129663
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PauseMenu : MonoBehaviour {
public void Resume()
{
Time.timeScale = 1;
GameManager.instance.isPaused = false;
this.gameObject.SetActive(false);
}
public void QuitGame()
{
SceneManager.LoadScene("MainMenu");
this.gameObject.SetActive(false);
}
}
fileFormatVersion: 2
guid: 5096d6a3a4f1fcd4cafbc2fbafbfb0d1
timeCreated: 1492127986
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment