how to change scenes in unity
SceneManager.LoadScene(scenename);
Change Level in Unity
public UnityEngine.UI.InputField sceneInputField; //Refence to your inputField
public void ChangeSceneBasedOnInputField() //Code that needs to be called
{
UnityEngine.SceneManagement.SceneManager.LoadScene(sceneInputField.text);
//This way you can type either the index of the scene or it's name
//Will throw an error if it can`t find the scene
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us