IsObjectExcludedFromPresets(Object)
Returns true if this Object is not available in the Preset system.
Read time 1 minuteLast updated 12 days ago
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.