Version: 2020.2

SceneTemplateService.NewTemplateInstantiated

切换到手册
public delegatevoid NewTemplateInstantiated (SceneTemplate.SceneTemplateAsset sceneTemplateAsset, SceneManagement.Scene scene, SceneAsset sceneAsset, bool additiveLoad);

参数

sceneTemplateAsset The Scene template that was instantiated.
scene The template Scene that was instantiated.
sceneAsset The new Scene Asset created by instantiating the Scene template.
additiveLoad Specifies whether the template was instantiated in additive mode.

描述

An event called after a Scene template is instantiated.