Removed

ObjectSelectorHandlerWithTagsAttribute Constructor

Obsolete ObjectSelectorHandlerWithTagsAttribute has been deprecated. Use SearchContextAttribute instead.

Declaration

public ObjectSelectorHandlerWithTagsAttribute(params string[] tags);

Parameters

tags An array of strings that represents the different tags to use as constraints.

Description

Constructor used to declare the SearchService.ObjectSelectorHandlerWithTagsAttribute on a field.

The "tags" parameter represents the tags to use as constraints. If there is more than one tag, the object selector shows GameObjects or Components tagged with any of them.


Did you find this page useful? Please give it a rating: