Version: 2021.2
言語: 日本語
public static SceneTemplate.SceneTemplateAsset CreateTemplateFromScene (SceneAsset sourceSceneAsset, string sceneTemplatePath);

パラメーター

sourceSceneAsset The Scene Asset that serves as the template.
sceneTemplatePath The path to the new Scene template asset.

戻り値

SceneTemplateAsset A new Scene template Asset instance.

説明

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