Version 3.3.1.2

UnityPropertyGetterSetter<TOwner, TValue> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public sealed class UnityPropertyGetterSetter<TOwner, TValue> : IValueGetterSetter<TOwner, TValue>, IValueGetterSetter
Inheritance
  • System.Object
  • UnityPropertyGetterSetter<TOwner, TValue>

Type Parameters

TOwner

TValue

Constructors

UnityPropertyGetterSetter(InspectorProperty)
public UnityPropertyGetterSetter(InspectorProperty property)
Parameters
InspectorProperty property

Properties

IsReadonly
public bool IsReadonly { get; }
OwnerType
public Type OwnerType { get; }
ValueType
public Type ValueType { get; }

Methods

GetValue(ref TOwner)
public TValue GetValue(ref TOwner owner)
Parameters
TOwner owner

Returns
TValue

GetValue(Object)
public object GetValue(object owner)
Parameters
System.Object owner

Returns
System.Object

SetValue(ref TOwner, TValue)
public void SetValue(ref TOwner owner, TValue value)
Parameters
TOwner owner

TValue value

SetValue(Object, Object)
public void SetValue(object owner, object value)
Parameters
System.Object owner

System.Object value