1
0
Fork 0
Bildschirmflausch-LD41/Assets/Scripts/UIController.cs
2018-04-21 20:47:50 +02:00

38 lines
723 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIController : MonoBehaviour {
public UIController()
{
UIController.instance = this;
}
private GameObject score;
private GameObject pauseMenu;
private GameObject GameOverPanel;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public static UIController instance;
public void quitGame()
{
Application.Quit();
}
public void ShowPauseMenu()
{
pauseMenu.SetActive(true);
}
public void ClosePauseMenu()
{
pauseMenu.SetActive(false);
}
}