private void DrawBlendCurve(GUIContent title, SerializedProperty modeProperty, SerializedProperty curveProperty, Action <SerializedProperty> onCurveClick)
 {
     EditorGUILayout.BeginHorizontal(new GUILayoutOption[0]);
     EditorGUILayout.PropertyField(modeProperty, title, new GUILayoutOption[0]);
     if (this.hasMultipleSelection)
     {
         GUILayout.FlexibleSpace();
     }
     else
     {
         using (new EditorGUI.DisabledScope(modeProperty.get_intValue() != 1))
         {
             ClipInspectorCurveEditor.CurveField(GUIContent.none, curveProperty, onCurveClick);
         }
     }
     EditorGUILayout.EndHorizontal();
 }
        void DrawBlendCurve(GUIContent title, SerializedProperty modeProperty, SerializedProperty curveProperty, Action <SerializedProperty> onCurveClick)
        {
            EditorGUILayout.BeginHorizontal();
            EditorGUILayout.PropertyField(modeProperty, title);
            if (hasMultipleSelection)
            {
                GUILayout.FlexibleSpace();
            }
            else
            {
                using (new EditorGUI.DisabledScope(modeProperty.intValue != (int)TimelineClip.BlendCurveMode.Manual))
                {
                    ClipInspectorCurveEditor.CurveField(GUIContent.none, curveProperty, onCurveClick);
                }
            }

            EditorGUILayout.EndHorizontal();
        }