Question by
PerguntasUnity · Oct 30, 2016 at 04:26 PM ·
unity 5errorbuttonsloadlevel
Problem with Application.LoadLevel
I created a button and want when you click on it with the right mouse button, it leads to another scene. I wrote the following code:
using UnityEngine;
using System.Collections;
public class LoadingScene : MonoBehaviour {
public void LoadScene () {
Application.LoadLevel ("game");
}
}
There is nothing wrong, put the correct information in Unity, the code also shows no errors. But when I test nothing happens.
Do I have to configure the mouse? why yes, I do not know how to do this.
Comment
Your answer
Follow this Question
Related Questions
problems with mopub 0 Answers
`SceneManager' does not contain a definition for `LoadScene' 1 Answer
TANKS! unity tutorial shooting not working? 0 Answers
IAP gives ERROR_BROKEN_PIPE 3 Answers
Build Problems Please help 3 Answers