Version: 2017.2

SerializedProperty.hasMultipleDifferentValues

切换到手册
public bool hasMultipleDifferentValues ;

描述

此属性是否会因为多对象编辑而代表多个不同的值?(只读)

See Also: SerializedObject.SetIsDifferentCacheDirty.