I am making a sandbox game and I want player to be creating new worlds aka scenes in unity manually. I have gone through many pages of google but I was not able to find out how to do this. Please if you know the solution to this, please give me a reply
_
_
using UnityEngine.SceneManagement;
public class CreateAndLoadNewScene : MonoBehaviour
{
Scene newScene = SceneManager.CreateScene("World01");
SceneManager.LoadScene("World01", LoadSceneMode.Single);
}