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.

継承メンバー

変数

order複数の DecorationDrawer がある場合に描画する順番を指定するフィールド
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961