When you want to load a new scene, use SceneManager.LoadScene inside your scripts. Scene 0 is the first scene that will be loaded when you build the game. The second way to add scene files is to drag them from the Project View to the list.Īt this point, notice that each of your scenes has a different index value. You will see the currently open scenes appear in the list. The first way is to click the Add Open Scenes button. It is easy to add scene files to the list for multi-scene builds. If you want to quickly build a test player with only one scene file, just build a player with a blank scene list. If you build your game while this list is blank, only the currently open scene will be included in the build. The first time you view this window in a project, it will appear blank. It pops up an editable list of the scenes that will be included when you build your game. This section will explain how to access the Build Settings and how to create different builds of your games.įile > Build Settings… is the menu item to access the Build Settings window. At any time while you are creating your game, you might want to see how it looks when you build and run it outside of the editor as a standalone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |