Beispiel #1
0
 SerializedProperty FindSetting <T, TValue>(Expression <Func <T, TValue> > expr)
 {
     return(serializedObject.FindProperty(ReflectionUtils.GetFieldPath(expr)));
 }
Beispiel #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)));
 }