Hi everyone,
Is there a checkbox or something that makes Application.LoadLevel don’t destroy current Scene GameObjects?
I made a new game UIButton, and all it does is call this script:
public class LevelController : MonoBehaviour {
public void LoadLevel(string levelName)
{
Application.LoadLevel (levelName);
}
}
The Scene I call is loaded successfully, but the current scene is not being destroy… I didn’t use Application.DontDestroy… on ANY GameObject… so I really have no idea what is going on…
Any clues?