To edit a sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary template, select it in the Project windowA window that shows the contents of your Assets
folder (Project tab) More info
See in Glossary, then open it in an Inspector window.
Note: |
---|
When you first create an empty scene template, you must edit its properties to associate it with a scene before you can use it. Templates that you create from the active scene, or an existing scene asset, have some properties set by default. |
The scene template Inspector
The scene template InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
has the following sections:
package_name@package_version
) that a project or another package requires in order to work. Projects and packages use the dependencies** attribute in their manifests to define the set of packages they require. For projects, these are considered direct dependencies; for packages, these are indirect, or transitive, dependencies. More infoUse the Details section to specify which scene to use for a template, and control how the template appears in the New Scene dialog.
Property: | Description: | |
---|---|---|
Template Scene | Specifies the scene to use as a template. This can be any scene in the Project. | |
Title | The template name. The name you enter here appears in the New Scene dialog. | |
Description | The template description. The description you enter here appears in the New Scene dialog. | |
Pin in New Scene Dialog | Controls whether this template is pinned in the New Scene dialog. Pinned templates always appear at the top of the Scene Templates in Project list. |
The Thumbnail section contains options for creating a preview image for the template. The preview image appears in the New Scene dialog.
Property: | Description: | |
---|---|---|
Texture | Specifies a Texture asset to use as a thumbnail for this template. You can use any Texture asset in the Project. If you don’t assign a Texture, the template uses the default scene template asset icon. |
|
[Thumbnail Preview] | Displays the template’s thumbnail texture, if it has one. | |
Snapshot | Provides options for capturing a thumbnail image for this template. | |
View | Specifies whether to capture the Main CameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info See in Glossary view or the Game View. |
|
Take Snapshot | Click this button to capture the selected View. |
Use these properties to add a Scene Template Pipeline script to this template.
A Scene Template Pipeline script lets you execute custom code when you create a new scene from the template. See Customizing new scene creation.
This section lists all of the template scene’s Dependencies. You can specify whether or not to Clone each dependency when you create a new scene from the template.
To search for a dependency by name, enter text in the search bar.
To sort the Dependencies list:
For each dependency in the list, toggle the Clone option on to clone the dependency, or off to reference the dependency. When you clone a dependency, you create a copy. When you reference a dependency, all changes made to the original will affect the dependency.
When you create a new scene from the template, Unity checks whether the template scene has cloneable dependencies. If it does, Unity creates a folder with the same name as the new scene, and puts any cloned dependencies in that folder.
For more information about cloned and referenced dependencies, see Templates and scene dependencies.
To specify which types of asset Unity clones by default, edit the scene template Project settings.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.