FittsLaw/Assets/Scripts/ChangeScene.cs

13 lines
282 B
C#
Raw Normal View History

2018-10-14 19:55:46 -04:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ChangeScene : MonoBehaviour {
public void ChangeScenes(string sceneToLoad)
{
SceneManager.LoadScene(sceneToLoad);
}
}