ObjectSelectorHandlerWithTagsAttribute(params string[])
Constructor used to declare the ObjectSelectorHandlerWithTagsAttribute on a field.
Read time 1 minuteLast updated a month ago
Definition
- Type: Constructor
- Namespace: UnityEngine.SearchService
- Assembly: UnityEngine.CoreModule
ObjectSelectorHandlerWithTagsAttribute(string[])
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.