Version: 2021.3
언어: 한국어
public static SceneTemplate.InstantiationResult Instantiate (SceneTemplate.SceneTemplateAsset sceneTemplate, bool loadAdditively, string newSceneOutputPath);

파라미터

sceneTemplate A Scene template Asset that contains the information required to instantiate the Scene.
loadAdditively Specifies whether the new Scene is created additively in the currently loaded Scene.
newSceneOutputPath The path to the new Scene created from the template. This is set only when the SceneTemplateAsset has cloneable dependencies, because in that case, the new Scene must be be saved on disk.

반환

InstantiationResult The new Scene and its SceneTemplateAsset counterpart.

설명

Instantiates a new Scene from a template.