Question by
Catlilface · Feb 10, 2018 at 04:37 PM ·
error
Application.LoadLevel doesn't work,application.loadlevel not working
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Start : MonoBehaviour {
public void Relax()
{
Application.LoadLevel(1);
}
public void Exit()
{
Application.Quit();
}
}
I made this code with tutorials, but both public void don't work., using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement;
public class Start : MonoBehaviour {
public void Relax()
{
Application.LoadLevel(1);
}
public void Exit()
{
Application.Quit();
}
}
Help plz, I can't find the error. I made this code with tutorials and both public void don't work.
Comment
Your answer
