Version: 2020.2

SceneTemplateService.NewTemplateInstantiating

切换到手册
public delegatevoid NewTemplateInstantiating (SceneTemplate.SceneTemplateAsset sceneTemplateAsset, string newSceneOutputPath, bool additiveLoad);

参数

sceneTemplateAsset The Scene template to instantiate.
newSceneOutputPath The output path for the new Scene. This can be empty if the scene is created in memory.
additiveLoad Specifies whether to instantiate the Scene template in additive mode.

描述

An event called before a Scene template is instantiated.