public override void OnInspectorGUI()
    {
        TrackBuildREditorInspector.OnInspectorGUI(_trackBuildR, selectedPoint, selectedCurveIndex);

        if (GUI.changed)
        {
            UpdateGui();
        }
    }
 private void CleanUp()
 {
     TrackBuildREditorInspector.CleanUp();
     DestroyImmediate(_trackBuildR.trackEditorPreview);
 }