Version: 2021.2
언어: 한국어

SearchContextAttribute

class in UnityEngine.Search

/

다음으로부터 상속:PropertyAttribute

매뉴얼로 전환

설명

This attribute can be attached to a component object field in order to have the ObjectField use the advanced Object Picker.

[SearchContext("t:mesh is:nested mesh", "asset")]
public UnityEngine.Object assetMesh;

변수

flagsSearch view flags used to open the Object Picker in various states.
instantiableProvidersSearch provider concrete types that will be instantiated and assigned to the Object Picker search context.
providerIdsA list of Search Provider IDs that will be used to create the search context.
queryInitial search query used to open the Object Picker window.

생성자

SearchContextAttributeSearch context constructor used to add some search context to an object field.

상속된 멤버

변수

orderOptional field to specify the order that multiple DecorationDrawers should be drawn in.