Quantcast
Channel: Questions in topic: "parser"
Viewing all articles
Browse latest Browse all 108

Naming a scene created with the NewScene function

$
0
0
I used the UnityEditor.SceneManagement.EditorSceneManager.NewScene() function to create a new scene in an editor script. The editor loads the new scene as it should. However, the scene shows up with the name Untitled, and I can't seem to find a way to name it. Ideally I'd be able to rename the scene from Untitled to a string variable I assign a few lines after the NewScene() function call.

Viewing all articles
Browse latest Browse all 108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>