PropertyValueEntry<TParent, TValue>

Represents the values of an InspectorProperty, and contains utilities for querying the values' type and getting and setting them.

namespace Sirenix.OdinInspector.Editor
{
public sealed class PropertyValueEntry<TParent, TValue> : PropertyValueEntry<TValue>
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

See Also

Properties

Return Type Definition Description
Type ParentType The type from which this value entry comes. If this value entry represents a member value, this is the declaring type of the member. If the value entry represents a collection element, this is the type of the collection.

Methods

Return Type Definition Description
bool ApplyChanges() Applies the changes made to this value entry to the target objects, and registers prefab modifications as necessary.
Type GetMostPreciseContainedType() Determines what the most precise contained type is on this value entry.
TParent GetParent(int) Gets the parent value at the given index.
PropertyValueState GetValueState() Determines the value state of this value entry.
void Initialize() Initializes this value entry.
void UpdateValues() Updates all values in this value entry from the target tree values.