Version: 2022.3

OnOpenAssetAttributeMode

enumeration

切换到手册

描述

Indicates whether OnOpenAssetAttribute decorated method is a validation function that checks if asset opening is handled by Unity or a custom script.

变量

ExecuteIndicates that OnOpenAssetAttribute decorated method is an opening function.
ValidateIndicates that OnOpenAssetAttribute decorated method is a validation function.