Version 2.1.0.0

IValueGetterSetter<TOwner, TValue> interface

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public interface IValueGetterSetter<TOwner, TValue> : IValueGetterSetter
Used by all AliasGetterSetter<TOwner, TValue, TPropertyOwner, TPropertyValue> to tell Odin how to set or get a value on any given property.

Type Parameters

TOwner

TValue

Methods

GetValue(ref TOwner)
Gets the value from a given owner.
TValue GetValue(ref TOwner owner)
Parameters
TOwner owner

The owner.

Returns
TValue

SetValue(ref TOwner, TValue)
Sets the value on a given owner.
void SetValue(ref TOwner owner, TValue value)
Parameters
TOwner owner

The owner.

TValue value

The value.

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.