public override void OnInspectorGUI()
{
this.serializedObject.Update();
EditorGUILayout.PropertyField(this.handleType);
EditorGUI.BeginChangeCheck();
EditorGUILayout.PropertyField(this.leftHandleLocalPosition);
if (EditorGUI.EndChangeCheck())
{
this.rightHandleLocalPosition.vector3Value = -this.leftHandleLocalPosition.vector3Value;
}
EditorGUI.BeginChangeCheck();
EditorGUILayout.PropertyField(this.rightHandleLocalPosition);
if (EditorGUI.EndChangeCheck())
{
this.leftHandleLocalPosition.vector3Value = -this.rightHandleLocalPosition.vector3Value;
}
this.serializedObject.ApplyModifiedProperties();
}