文档

Unity Engine

Unity Engine

AdvancedObjectSelectorValidatorAttribute(string)

Registers a method to act as an advanced object selector validator.
阅读时间1 分钟最后更新于 1 个月前

Definition

public AdvancedObjectSelectorValidatorAttribute(string id)

Parameters

A unique identifier for this advanced object selector validator.

Remarks

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.