CanBeAppliedTo(Object)
Checks whether this preset can be applied to the target object.
阅读时间1 分钟最后更新于 1 个月前
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.