12 lines
245 B
C#
12 lines
245 B
C#
![]() |
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
using UnityEngine.SceneManagement;
|
|||
|
|
|||
|
public class ButtonController : MonoBehaviour {
|
|||
|
|
|||
|
public void NextScene(string scene)
|
|||
|
{
|
|||
|
SceneManager.LoadScene(scene);
|
|||
|
}
|
|||
|
}
|