11 lines
No EOL
203 B
C#
11 lines
No EOL
203 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using System.Collections;
|
|
|
|
public class SceneLoader : MonoBehaviour {
|
|
|
|
public void LoadScene(int scene)
|
|
{
|
|
SceneManager.LoadScene(scene);
|
|
}
|
|
} |