Version: 2022.2

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.