Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AdvancedObjectSelectorValidatorAttribute(string)

Registers a method to act as an advanced object selector validator.
Read time 1 minuteLast updated 8 days ago

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.