IsValid()
Checks whether the preset type of this preset is valid.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor.CoreModule
public bool IsValid()
Returns
Type | Description |
|---|---|
| bool | True if the preset type of this preset is valid. Otherwise, false. |
Remarks
A preset can be invalid if created from an object excluded from the presets system.