Version 3.3.1.2

PropertyValueState enum

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public enum PropertyValueState
Enumeration for designating whether a PropertyValueEntry has a special state,.

Values

CollectionLengthConflict

The value entry has a collection length conflict across selected indices.

A collection length conflict is when the property represents multiple parallel collections, and their lengths differ.

None
The value entry has no special state.
NullReference
The value entry is a null value.
PrimitiveValueConflict

The value entry has a primitive value conflict across selected indices.

A primitive value conflict is when primitive values, such a strings or floats, differ.

Reference
The property is a reference to another property. Get the path of the referenced property from TargetReferencePath.
ReferencePathConflict

The value entry has a reference path conflict across selected indices.

A reference path conflict is when the property consists of references to many conflicting paths. Use ObjectIsReferenced(Object, out String) to get paths to all referenced objects.

ReferenceValueConflict

The value entry has a reference value conflict across selected indices.

A reference value conflict is when the types of reference type values differ, or when some values are null while others are not.