Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisplayValueField

Whether the built-in field for the condition's value is displayed.
Read time 1 minuteLast updated 10 days ago

Definition

protected virtual bool DisplayValueField { get; }

Remarks

Override this property to return
false
to remove the built-in value field and draw your own controls for the condition instead. The built-in title label then carries the condition's name; see ConditionView<T>.DisplayTitleLabel. The comparison operator dropdown is unaffected; it remains controlled by Condition<T>.DisplayComparisonDropdown.