public SerializedProperty GetCurveProperty(int index)
{
SerializedProperty property = null;
SerializedProperty property2 = this.Get("curves");
if ((property2 != null) && property2.isArray)
{
property = property2.GetArrayElementAtIndex(index).FindPropertyRelative("curve");
}
return property;
}