Delegate SceneTemplate.NewTemplateInstantiating
Event called before a template is instantiated.
Namespace: UnityEditor.SceneTemplate
Syntax
public delegate void NewTemplateInstantiating(SceneTemplateAsset sceneTemplateAsset, string newSceneOutputPath, bool additiveLoad);
Parameters
| Type | Name | Description |
|---|---|---|
| SceneTemplateAsset | sceneTemplateAsset | Template to be instantiated |
| String | newSceneOutputPath | New Scene output path. Can be empty if the scene is created in memory. |
| Boolean | additiveLoad | Is the template to be instantiated in additive mode. |