IsObjectExcludedFromPresets(Object)
Returns true if this Object is not available in the Preset system.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor.CoreModule
public static bool IsObjectExcludedFromPresets(Object target)
Parameters
Returns
Type | Description |
|---|---|
| bool |
Remarks
Creating a Preset using an Object that is Excluded from Preset will reset in an invalid Preset (Preset.IsValid() == false) and will not be usable to ApplyTo or UpdateProperties with any type of Object.