private void EndEditProbes()
        {
            if (!m_EditingProbes)
            {
                return;
            }

            m_Editor.DeselectProbes();
            m_Editor.SetEditing(false);
            m_EditingProbes = false;
            Tools.hidden    = false;
            SceneView.RepaintAll();
        }
 public void OnEnable()
 {
     m_Editor = new PointEditr(target as LightProbe, this);
     m_Editor.PullProbePositions();
     m_Editor.DeselectProbes();
     m_Editor.PushProbePositions();
     SceneView.onSceneGUIDelegate     += OnSceneGUIDelegate;
     Undo.undoRedoPerformed           += UndoRedoPerformed;
     EditMode.onEditModeStartDelegate += OnEditModeStarted;
     EditMode.onEditModeEndDelegate   += OnEditModeEnded;
 }