Version 2.1.0.0

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.

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.