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/Game 1/Assets/Scripts/ButtonController.cs

12 lines
245 B
C#
Raw Normal View History

2017-09-07 11:58:40 -05:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ButtonController : MonoBehaviour {
public void NextScene(string scene)
{
SceneManager.LoadScene(scene);
}
}