Exemple #1
0
 SerializedProperty FindSetting <T, TValue>(Expression <Func <T, TValue> > expr)
 {
     return(serializedObject.FindProperty(ReflectionUtils.GetFieldPath(expr)));
 }
Exemple #2
0
 protected SerializedProperty FindSetting <T, TValue> (SerializedProperty prop, Expression <Func <T, TValue> > expr)
 {
     return(prop.FindPropertyRelative(ReflectionUtils.GetFieldPath(expr)));
 }
 protected SerializedProperty FindSetting <T, TValue>(Expression <System.Func <T, TValue> > expr)
 {
     return(m_SettingsProperty.FindPropertyRelative(ReflectionUtils.GetFieldPath(expr)));
 }