DelegateProperty(string, PropertyGetter<TContainer, TValue>, PropertySetter<TContainer, TValue>)
Initializes a new instance of the DelegateProperty<TContainer, TValue> class.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Constructor
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
DelegateProperty(string, PropertyGetter<T, T>, PropertySetter<T, T>)
public DelegateProperty(string name, PropertyGetter<TContainer, TValue> getter, PropertySetter<TContainer, TValue> setter = null)
Parameters
The property name.
The delegate to use when accessing the property value.
The delegate to use when setting the property value.