This version of Unity is unsupported.

SceneTemplatePipelineAdapter.IsValidTemplateForInstantiation

Declaration

public bool IsValidTemplateForInstantiation(SceneTemplate.SceneTemplateAsset sceneTemplateAsset);

Parameters

sceneTemplateAsset A Scene Template asset that is available in New Scene dialog.

Returns

bool True if the Scene template can be instantiated. False otherwise.

Description

An event called before the New Scene dialog is displayed to determine whether this template is available in the dialog.