private void OnEnable()
    {
        SetStyles();
        currentGrassEditor = this;
        LoadInspectorSettings();

        Undo.undoRedoPerformed       += UndoRedoCallback;
        SceneView.onSceneGUIDelegate += SceneGUICallback;
    }
    private void OnDisable()
    {
        SaveInspectorSettings();
        DisablePaintHighlight();

        Undo.undoRedoPerformed       -= UndoRedoCallback;
        SceneView.onSceneGUIDelegate -= SceneGUICallback;

        SaveData();

        if (currentGrassEditor == this)
        {
            currentGrassEditor = null;
        }
    }