GetProperty
Gets an IProperty on the specified container for the given PropertyPath.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
GetProperty<T>(T, PropertyPath)
Gets an IProperty on the specified container for the given PropertyPath.
public static IProperty GetProperty<TContainer>(TContainer container, in PropertyPath path)
Parameters
Returns
Remarks
While the container data is not actually read from or written to. The container itself is needed to resolve polymorphic fields and list elements.
GetProperty<T>(T, PropertyPath)
Gets an IProperty on the specified container for the given PropertyPath.
public static IProperty GetProperty<TContainer>(ref TContainer container, in PropertyPath path)
Parameters
Returns
Remarks
While the container data is not actually read from or written to. The container itself is needed to resolve polymorphic fields and list elements.