文档

Unity Engine

Unity Engine

MixedValueScope(bool)

Creates a new EditorGUI.MixedValueScope that determines the start of the group of mixed value controls.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public MixedValueScope(bool newMixedValue)

Parameters

newMixedValue

When you set this value to
true
, each control inside the group can show a dash (-) if selected objects have different values.

Remarks

Additional Resources: EditorGUI.showMixedValue.