 All right, welcome back. Okay, so in this video, we're gonna finish up the tool here and we're gonna have it so that it creates a bunch of just default scenes for us. And the reason why I started doing this is because I noticed that anytime I started a new Unity project, I always created these three core scenes, the main scene, I have a front end scene and a loader. There are always, I just noticed that over time that there was a pattern inside. Just was tired of going and making them by hand. I just wanted them ready to go. It's all those little things, they all add up. So let's go and look and see how to do that. So the first thing that we need to do is we need to include a new namespace. So we need the Unity Editor.SceneManagementNamespace. This will allow us to create new scenes while in the editor. So what I wanna do now is create a new method down here called create scene. And what we're gonna do is we're going to pass in a path. So string a path and we can do a name too. Definitely, you don't need to, we'll just see what we come up with here. So the first thing that we wanna do is we wanna store the current scenes because we're also gonna have to save it once we create it. So I'm gonna create a new scene and in order to do that, I do need to use the UnityEngine.SceneManagementNamespace as well so I can get access to that. So I want a new scene and we'll call this CurseScene for current scene. And this will be the EditorSceneManager.CreateScene and you can see that we can give it a scene name. Oops, I wanted to roll through those. Oh, and we just need to give it a scene name. So I thought there were more overrides there but there aren't. So we just wanna give it a path plus the scene name.name like so. And then all we really need to do at that point is once it's created, we're gonna say EditorSceneManager.SaveScene and it wants the current scene and the destination path. So let's actually just, let's not be the path here. That's just the name if I remember correctly. And we're gonna wanna save it as a copy because we don't wanna just launch it right away. So I'm gonna give it the current scene and then we want the path. So a path and then we'll say true to save it as a copy. Awesome. So with that done, we need to actually create the scene. So I'll just give myself a little info here. And what I wanna do now is create a new directory info and we'll call this scene info and we'll say directory.create directory and we'll give it the root path that we've been using. So the root path plus scenes. So then we're gonna say if sceneinfo.exists then we're going to create a scene three times. So I wanna give it the root path plus the scenes folder and then I wanna give it a name. So this is going to be called and I do like to use the game name. So I'm gonna say game name plus main. How about so we'll say game name plus an underscore main like so we'll do that three more times. We'll say front end and or startup. That's what I usually call it startup. So that's usually like that initial splash screen with all the company logos and the initial screen where you say start. And again, your project might be different. I just have it in here as a default. All right, so that should work. Let's go and test this out. So I'm gonna get rid of the previous version here. All right, and let's just go and create it again. And we did get an error here and that's telling us that we can only use the editor scene manager. Didn't I use that? Editor scene manager create scene. Oh, it needs, sorry. Sorry about that. It needs new scene. There we go. Let's save that and let's go test this out again and it's complaining about something. And that must have other overrides. So let's go check that out. That's what it is. So new scene setup. So this is pretty interesting. You can actually tell it to add the default game object. So your main camera, your directional light, or you can just set up an empty scene. It's really up to you. So I'm just gonna add the defaults and we'll say new scene mode. I'm just gonna do a single because I don't need it to be additive right now. All right, so that should work. Try this one more time, huh? There we go. And I do need to put the name at the end here. So it's gonna be up path plus forward slash a name. So let's go and test this out now. Okay. And we actually need to add the extension to it. So that means that we come in here and we just add dot unity. There we go. Sorry, that was so difficult. I've, you know, now that I don't do it very often, manually, I just use this tool. I've kind of forgotten all the specifics about the particular function there that we're using. So let's try this out again. There we go. And now we have all of our scenes all set up. So now you can go and just click through them all and they have the defaults in there. Cool, so if you were to set this to empty, it wouldn't have anything in it. So it's really up to you. And, you know, if you want to continue, you know, making this a little bit more of a robust tool, you can go and add some flags so that you can choose a bunch of different setup types. Maybe you want to set this up for VR or a mobile game. And those particular projects have specific settings that you notice that you've always started out with. So anyways, that is the project setup tool. Hope you guys enjoyed it. Let me know if you want to see more of these types of little utilities. They're fun to make and they speed up your process. So as always, this source code is going to be available up on Gumroad and on anypixel.com here shortly. So let me know what you think and thanks so much.