Documentation

Unity Engine

Unity Engine

DelegateProperty(string, PropertyGetter<TContainer, TValue>, PropertySetter<TContainer, TValue>)

Initializes a new instance of the DelegateProperty<TContainer, TValue> class.
Read time 1 minuteLast updated 4 hours ago

Definition

DelegateProperty(string, PropertyGetter<T, T>, PropertySetter<T, T>)

public DelegateProperty(string name, PropertyGetter<TContainer, TValue> getter, PropertySetter<TContainer, TValue> setter = null)

Parameters

name

The property name.

The delegate to use when accessing the property value.

The delegate to use when setting the property value.