Method BeforeTemplateInstantiation
BeforeTemplateInstantiation(SceneTemplateAsset, bool, string)
Event called before the template is instantiated.
Declaration
public override void BeforeTemplateInstantiation(SceneTemplateAsset sceneTemplateAsset, bool isAdditive, string sceneName)
Parameters
Type | Name | Description |
---|---|---|
SceneTemplateAsset | sceneTemplateAsset | Scene Template asset that will be instantiated |
bool | isAdditive | Is the new scene created in additive mode. |
string | sceneName | What is the path of the new scene (could be empty if untitled) |