Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ObjectSelectorHandlerWithTagsAttribute(params string[])

Constructor used to declare the ObjectSelectorHandlerWithTagsAttribute on a field.
Read time 1 minuteLast updated a month ago

Definition

ObjectSelectorHandlerWithTagsAttribute(string[])

Warning
Removed. ObjectSelectorHandlerWithTagsAttribute has been deprecated. Use SearchContextAttribute instead.
public ObjectSelectorHandlerWithTagsAttribute(params string[] tags)

Parameters

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

Remarks

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.