public int GetCurveCount()
{
int arraySize = 0;
SerializedProperty property = this.Get("curves");
if ((property != null) && property.isArray)
{
arraySize = property.arraySize;
}
return arraySize;
}