IsValidTemplateForInstantiation(SceneTemplateAsset)
An event called before the New Scene dialog is displayed to determine whether this template is available in the dialog.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: UnityEditor.SceneTemplate
- Assembly: UnityEditor
public virtual bool IsValidTemplateForInstantiation(SceneTemplateAsset sceneTemplateAsset)
Parameters
A Scene Template asset that is available in New Scene dialog.
Returns
Type | Description |
|---|---|
| bool | True if the Scene template can be instantiated. False otherwise. |