GetProperties
Returns an enumerator that iterates through all static properties for the type.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
GetProperties()
Returns an enumerator that iterates through all static properties for the type.
PropertyCollection<TContainer> GetProperties()
Returns
Type | Description |
|---|---|
| PropertyCollection<T> | A IEnumerator_1 structure for all properties. |
Remarks
This should return a subset properties returned by IPropertyBag<TContainer>.GetProperties().
GetProperties(T)
Returns an enumerator that iterates through all static and dynamic properties for the given container.
PropertyCollection<TContainer> GetProperties(ref TContainer container)
Parameters
Returns
Type | Description |
|---|---|
| PropertyCollection<T> | A IEnumerator_1 structure for all properties. |
Remarks
This should return all static properties returned by IPropertyBag<TContainer>.GetProperties() in addition to any dynamic properties. If the container is a collection type all elements will be iterated.