Class PropertyFetcherExtensions
Property fetcher extension class.
Inheritance
PropertyFetcherExtensions
Syntax
public static class PropertyFetcherExtensions
Methods
Find<TSource, TValue>(SerializedObject, Expression<Func<TSource, TValue>>)
Declaration
public static SerializedProperty Find<TSource, TValue>(this SerializedObject obj, Expression<Func<TSource, TValue>> expr)
Parameters
| Type |
Name |
Description |
| SerializedObject |
obj |
|
| Expression<Func<TSource, TValue>> |
expr |
|
Returns
| Type |
Description |
| SerializedProperty |
|
Type Parameters
| Name |
Description |
| TSource |
|
| TValue |
|
Find<TSource, TValue>(SerializedProperty, Expression<Func<TSource, TValue>>)
Declaration
public static SerializedProperty Find<TSource, TValue>(this SerializedProperty obj, Expression<Func<TSource, TValue>> expr)
Parameters
| Type |
Name |
Description |
| SerializedProperty |
obj |
|
| Expression<Func<TSource, TValue>> |
expr |
|
Returns
| Type |
Description |
| SerializedProperty |
|
Type Parameters
| Name |
Description |
| TSource |
|
| TValue |
|