기술 자료

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.
읽는 시간 3분최근 업데이트: 한 달 전

Definition

경고
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