13 lines
282 B
C#
13 lines
282 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class ChangeScene : MonoBehaviour {
|
|
|
|
public void ChangeScenes(string sceneToLoad)
|
|
{
|
|
SceneManager.LoadScene(sceneToLoad);
|
|
}
|
|
}
|