Version: 2022.2

AdvancedObjectSelectorValidatorAttributeConstructor

切换到手册
public AdvancedObjectSelectorValidatorAttribute (string id);

参数

id A unique identifier for this advanced object selector validator.

描述

Registers a method to act as an advanced object selector validator.

A unique identifier is required when registering a custom advanced object selector validator. If the identifier is not unique, the advanced object selector validator is not registered and a warning is displayed in the console. The same identifier must be used by the attribute AdvancedObjectSelectorAttribute to properly register an advanced object selector.