Represents a weakly typed collection of values for a PropertyValueEntry - one value per selected inspector target.

namespace Sirenix.OdinInspector.Editor
public interface IPropertyValueCollection : IList


Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector


Return Type Definition Description
bool AreDirty Whether the values have been changed since MarkClean() was last called.
IImmutableList Original The original values of the value collection, such as they were immediately after the last Update() call.


Return Type Definition Description
void ForceMarkDirty() Marks the value collection as being dirty, regardless of any value changes.
void ForceSetValue(int, Object)

Force sets the value, ignoring whether it is editable or not.

Note that this will fail on list element value entries where ListIsReadOnly() is true on the parent value entry.

void MarkClean() Marks the value collection as being clean again. This is typically called at the end of the current GUI frame, during ApplyChanges().
void RevertUnappliedValues() Reverts the value collection to its origin values (found in Original) from the last Update() call, and marks the value collection as being clean again.