22 lines
439 B
C#
22 lines
439 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class WinCanvas : MonoBehaviour
|
|
{
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public void NextLevel()
|
|
{
|
|
SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().buildIndex + 1);
|
|
}
|
|
}
|