Version: 2023.1
LanguageEnglish
  • C#

SceneTemplateService.CreateSceneTemplate

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static SceneTemplate.SceneTemplateAsset CreateSceneTemplate(string sceneTemplatePath);

Parameters

sceneTemplatePath The path to the new Scene template asset.

Returns

SceneTemplateAsset Returns a new Scene template Asset instance.

Description

Creates a new Scene template at a specific path. The template is not bound to a Scene.