Version: 2020.3

ObjectSelectorHandlerWithLabelsAttribute

class in UnityEngine.SearchService

매뉴얼로 전환

설명

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

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

변수

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

생성자

ObjectSelectorHandlerWithLabelsAttributeConstructor used to declare the ObjectSelectorHandlerWithLabelsAttribute on a field.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961