ObjectSelectorHandlerWithTagsAttribute

class in UnityEngine.SearchService

Switch to Manual

Description

A class attribute that allows you to define tag constraints on a MonoBehavior or ScriptableObject's field in the object selector.

This attribute allows you to specify tags that a GameObject or Component must have for the object selector to display it.

Variables

tagsThe tags to match. Because a GameObject can only have one tag, only one of them must be present.

Constructors

ObjectSelectorHandlerWithTagsAttributeConstructor used to declare the ObjectSelectorHandlerWithTagsAttribute on a field.