Version: 2022.3
LanguageEnglish
  • C#

IMixedValueSupport

interface in UnityEngine.UIElements

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

An interface that allows value fields to visually represent a mixed value.

A mixed value refers to a situation where a value field is editing more than one value at a time. For example, when selecting multiple objects and editing the selection in the Inspector window, selected objects may have different values for the same property. This situation requires value fields to implement their own logic for supporting this situation.

Properties

showMixedValue Indicates whether to enable the mixed value state on the value field.