This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
project-undercover/Project Undercover/Assets/Scripts/UI/ButtonController.cs

14 lines
258 B
C#
Raw Normal View History

2017-11-27 20:27:19 -06:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonController : MonoBehaviour {
public void ExitGame() {
Application.Quit();
}
public void NextScene(string name) {
Application.LoadLevel(name);
}
}