I see that Application.LoadLevel doesnt working anymore in the new version of unity …
why ???
Someone help me !!!
Thanks !
(Sorry for the bad English)
I see that Application.LoadLevel doesnt working anymore in the new version of unity …
why ???
Someone help me !!!
Thanks !
(Sorry for the bad English)
1st: Add this to ur namespace `using UnityEngine.SceneManagement;
2nd: Use this Function
public void TranssisionBetweenScenes (string ChangeToScene)
{
SceneManager.LoadScene(ChangeToScene);
}
Crate a empty gameobject in ur editor and attach this script to it . After that create a UI button and attach the gameobject to it. U will get a text field in there put ur scene name.
Remember to add ur scene to the build