Version: 2022.3

SceneTemplatePipelineAdapter

class in UnityEditor.SceneTemplate


实现接口:ISceneTemplatePipeline

切换到手册

描述

An adapter that implements all the functions of ISceneTemplatePipeline for easier usage. Use it to partially override a ISceneTemplatePipeline.

公共函数

AfterTemplateInstantiationAn event called after the Scene template is instantiated, and while the new Scene is still loaded.
BeforeTemplateInstantiationAn event called before the Scene template is instantiated.
IsValidTemplateForInstantiationAn event called before the New Scene dialog is displayed to determine whether this template is available in the dialog.