← Return to game
Log in with itch.io to leave a comment.
sry caps
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class NewBehaviourScript : MonoBehaviour {
public void PlayGame () { SceneManager.LoadScene (SceneManager.GetActiveScene ().buildIndex + 1); } public void QuitGame () { Debug.Log ("QUIT!"); Application.Quit(); } }
PLAY NOWWWWWWWWW
← Return to game
Comments
Log in with itch.io to leave a comment.
sry caps
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class NewBehaviourScript : MonoBehaviour {
public void PlayGame () {
SceneManager.LoadScene (SceneManager.GetActiveScene ().buildIndex + 1);
}
public void QuitGame ()
{
Debug.Log ("QUIT!");
Application.Quit();
}
}
PLAY NOWWWWWWWWW