Version: 2022.3

ObjectField

class in UnityEditor.Search

切换到手册

描述

Object field used with the advanced search picker.

静态变量

singleLineHeightDefault line height used to render the object field control.

变量

objectTypeType of the object to be selected.
searchContextSearch query context used to populate the object picker.
searchViewFlagsSearch flags used to open the search picker window.

构造函数

ObjectFieldConstruct an advanced search field UITK control.

公共函数

SetValueWithoutNotifySet the object field selected objects.

静态函数

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