IsValid()
Checks whether the preset type of this preset is valid.
阅读时间1 分钟最后更新于 1 个月前
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.