Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ObjectSelectorHandlerWithLabelsAttribute

A class attribute that allows you to define label constraints on a MonoBehavior or ScriptableObject 's field in the object selector.
Read time 3 minutesLast updated 4 days ago

Definition

Warning
Removed. ObjectSelectorHandlerWithLabelsAttribute has been deprecated. Use SearchContextAttribute instead.
[AttributeUsage(AttributeTargets.Field)]public class ObjectSelectorHandlerWithLabelsAttribute : Attribute

Remarks

This attribute allows you to specify labels that an Asset must have for the object selector to display it.

Constructors

Properties

Property

Description

labelsThe labels to match.
matchAllBoolean that indicates whether all labels, or only one of them, should match. Default is true.

Inheritance

Inherited Members