UnityEditor.SceneTemplateModule A descriptor that stores one of a template Scene's dependency Assets, and specifies whether to clone or reference it when the template is instantiated. A dependency Asset of the template Scene. The action to take with the dependency when the template is instantiated. Constructor for a DependencyInfo. A class that holds the data created when a SceneTemplateAsset is instantiated. The Scene that is created and loaded when a SceneTemplateAsset is instantiated. The SceneAsset that is created when a SceneTemplateAsset is instantiated. Derive from this interface to package a custom code sequence when a Scene template is instantiated. ISceneTemplatePipeline is instantiated once when a template is instantiated, and is notified multiple times during the instantiation sequence. An event called after the Scene template is instantiated, and while the new scene is still loaded. The Scene template asset to instantiate. The newly created Scene. When set to true, the new Scene is created in additive mode. The path to the newly created Scene. If the template you instantiated does not have any cloneable dependencies, this can be empty. An event called before the Scene template is instantiated. The Scene template Asset to instantiate. When set to true, the new Scene is created in additive mode. The path to the newly created Scene. If the temlate you instantiated does not have any cloneable dependencies, this can be empty. An event called before the New Scene dialog is displayed to determine whether this template is available in the dialog. A Scene Template asset that is available in New Scene dialog. True if the Scene template can be instantiated. False otherwise. An Asset that stores everything required to instantiate a new Scene from a templated Scene. Use this field to add this template to the list of default templates in the New scene dialog. Lists Scene dependencies, and specifies whether to clone or reference each one. A description of the Scene template. This description can be long. In the Unity editor, it appears on multiple lines. Specifies whether the Scene template is valid. Invalid templates do not appear in the New Scene dialog. The Scene template's preview image or icon. A user-defined name for the Scene template Asset. By default, this is the template's file name. A script that derives from ISceneTemplatePipeline. It allows you to execute custom code when a template is instantiated. The Scene that is copied when the Scene template is instantiated. An adapter that implements all the functions of ISceneTemplatePipeline for easier usage. Use it to partially override a ISceneTemplatePipeline. An event called after the Scene template is instantiated, and while the new Scene is still loaded. The Scene template Asset to instantiate. The newly created Scene. When set to true, the new Scene is created in additive mode. The path to the newly created Scene. If the template you instantiated does not have any cloneable dependencies, this can be empty. An event called before the Scene template is instantiated. The Scene template Asset to instantiate. When set to true, the new Scene is created in additive mode. The path to the newly created Scene. If the template you instantiated does not have any cloneable dependencies, this can be empty. An event called before the New Scene dialog is displayed to determine whether this template is available in the dialog. A Scene Template asset that is available in New Scene dialog. True if the Scene template can be instantiated. False otherwise. A utility class that manages SceneTemplateAsset instantiation. Events fired after a Scene template is instantiated. A user-defined handler that is called after a Scene template is instantiated. Events fired before a Scene template is instantiated. A user-defined handler that is called before a Scene template is instantiated. Creates a new Scene template at a specific path. The template is not bound to a Scene. The path to the new Scene template asset. Returns a new Scene template Asset instance. Creates a new Scene template bound to a specific Scene. All of the template Scene's dependencies are extracted and set to be referenced. The Scene Asset that serves as the template. The path to the new Scene template asset. A new Scene template Asset instance. Instantiates a new Scene from a template. A Scene template Asset that contains the information required to instantiate the Scene. Specifies whether the new Scene is created additively in the currently loaded Scene. The path to the new Scene created from the template. This is set only when the SceneTemplateAsset has cloneable dependencies, because in that case, the new Scene must be be saved on disk. The new Scene and its SceneTemplateAsset counterpart. An event called after a Scene template is instantiated. The Scene template that was instantiated. The template Scene that was instantiated. The new Scene Asset created by instantiating the Scene template. Specifies whether the template was instantiated in additive mode. An event called before a Scene template is instantiated. The Scene template to instantiate. The output path for the new Scene. This can be empty if the scene is created in memory. Specifies whether to instantiate the Scene template in additive mode. An enumeration of options for handling a Scene dependency Asset when you instantiate a SceneTemplateAsset. Specifies that the dependency Asset is cloned when the SceneTemplateAsset is instantiated. Specifies that the dependency Asset is kept as a reference when the SceneTemplateAsset is instantiated.