Version: 2022.2
언어: 한국어
Removed

ObjectSelectorHandlerAttribute

class in UnityEditor.SearchService

매뉴얼로 전환
Obsolete

설명

A class attribute that allows you to define dynamic constraint on a MonoBehavior or ScriptableObject's field for the object selector.

This attribute identifies methods as custom object selector handlers. Handlers require editor-specific objects to work. If you want to constrain a UnityEngine script's field, you must define a custom attribute, decorate the field with it, and use this attribute in your editor code when you declare your custom handler.