15 lines
325 B
C#
15 lines
325 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class LoadScene : MonoBehaviour {
|
|
|
|
[SerializeField]
|
|
private string sceneName = "";
|
|
// Use this for initialization
|
|
private void Awake ()
|
|
{
|
|
SceneManager.LoadScene(sceneName);
|
|
}
|
|
}
|