# BeforeTemplateInstantiation(SceneTemplateAsset, bool, string)

> An event called before the Scene template is instantiated.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.SceneTemplate](/engine/6000.0/script-reference/unityeditor/scenetemplate.md)
* **Assembly:** UnityEditor

```csharp
void BeforeTemplateInstantiation(SceneTemplateAsset sceneTemplateAsset, bool isAdditive, string sceneName)
```

### Parameters

**** (\[SceneTemplateAsset]\(/engine/6000.0/script-reference/unityeditor/scenetemplate/scenetemplateasset)): The Scene template Asset to instantiate.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): When set to true, the new Scene is created in additive mode.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path to the newly created Scene. If the temlate you instantiated does not have any cloneable dependencies, this can be empty.
