I am abit confused about how “Level” works in game. It happens that I read through the code,
Application.LoadLevel("GameOver");
yet I failed to find out where this “GameOver” is defined. Can someone explain a bit about how this “Level” works?
I am abit confused about how “Level” works in game. It happens that I read through the code,
Application.LoadLevel("GameOver");
yet I failed to find out where this “GameOver” is defined. Can someone explain a bit about how this “Level” works?
A “level” is a “scene”.
The argument for the LoadLevel is either the scene’s name:
Application.LoadLevel("GameOver");
or the index of the scene (visible in your Build Settings).
Application.LoadLevel(1);
Ok, thanks.