Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ObjectField

Object field used with the advanced search picker.
Read time 7 minutesLast updated 11 days ago

Definition

public class ObjectField : BaseField<Object>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<Object>, IMixedValueSupport

Constructors

Constructor

Description

ObjectField()Construct an advanced search field UITK control.
ObjectField(System.String)Construct an advanced search field UITK control.

Properties

Property

Description

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.

Static Properties

Property

Description

singleLineHeightDefault line height used to render the object field control.

Methods

Method

Description

SetValueWithoutNotifySet the object field selected objects.

Static Methods

Method

Description

DoObjectFieldDraw an IMGUI advanced object field.

Inheritance

Inherited Members