Method AfterTemplateInstantiation
AfterTemplateInstantiation(SceneTemplateAsset, Scene, bool, string)
Event called after the template is instantiated and the new scene is still loaded.
Declaration
public override void AfterTemplateInstantiation(SceneTemplateAsset sceneTemplateAsset, Scene scene, bool isAdditive, string sceneName)
Parameters
Type | Name | Description |
---|---|---|
SceneTemplateAsset | sceneTemplateAsset | Scene Template asset that will be instantiated |
Scene | scene | The newly created scene |
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) |