CanBeAppliedTo(Object)
Checks whether this preset can be applied to the target object.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor.CoreModule
public bool CanBeAppliedTo(Object target)
Parameters
The object to test.
Returns
Type | Description |
|---|---|
| bool | True if the preset can be applied to the target object. Otherwise, false. |
Remarks
This method doesn't modify the preset or the target object.