OnOpenAssetAttributeMode
Indicates whether OnOpenAssetAttribute decorated method is a validation function that checks if asset opening is handled by Unity or a custom script.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEditor.Callbacks
- Assembly: UnityEditor
public enum OnOpenAssetAttributeMode
Fields
Value | Description |
|---|---|
| Execute | Indicates that OnOpenAssetAttribute decorated method is an opening function. |
| Validate | Indicates that OnOpenAssetAttribute decorated method is a validation function. |