public static SceneTemplate.SceneTemplateAsset CreateTemplateFromScene (SceneAsset sourceSceneAsset, string sceneTemplatePath);

Parámetros

sourceSceneAssetThe Scene Asset that serves as the template.
sceneTemplatePathThe path to the new Scene template asset.

Valor de retorno

SceneTemplateAsset A new Scene template Asset instance.

Descripción

Creates a new Scene template bound to a specific Scene. All of the template Scene's dependencies are extracted and set to be referenced.