Method CreateTemplateFromScene
CreateTemplateFromScene(SceneAsset, string)
Create a new scene template bound to a specific scene. All its dependencies will automatically be extracted and set to reference.
Declaration
public static SceneTemplateAsset CreateTemplateFromScene(SceneAsset sourceSceneAsset, string sceneTemplatePath)
Parameters
Type | Name | Description |
---|---|---|
SceneAsset | sourceSceneAsset | Scene asset that will serve as the template |
string | sceneTemplatePath | new path os the Scene template asset |
Returns
Type | Description |
---|---|
SceneTemplateAsset | A new scene template asset instance |